[Approved] Fix myHome horizontal menu not scaled on X-axis (1 Viewer)

pilehave

Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    As an answer to my own bugreport:
    https://forum.team-mediaportal.com/...width-not-scaled-resolution-93534/#post714837

    Here is the fix:

    Code:
    Index: GUIMenuControl.cs
    ===================================================================
    --- GUIMenuControl.cs	(revision 27452)
    +++ GUIMenuControl.cs	(working copy)
    @@ -913,6 +913,7 @@
             GUIGraphicsContext.ScaleHorizontal(ref _spaceAfterSelected);
           }
           GUIGraphicsContext.ScaleVertical(ref _buttonHeight);
    +      GUIGraphicsContext.ScaleHorizontal(ref _buttonWidth);
           GUIGraphicsContext.ScalePosToScreenResolution(ref _buttonTextXOffset, ref _buttonTextYOffset);
           GUIGraphicsContext.ScalePosToScreenResolution(ref _hoverPositionX, ref _hoverPositionY);
           GUIGraphicsContext.ScalePosToScreenResolution(ref _hoverWidth, ref _hoverHeight);
     

    Attachments

    • guimenucontrol horizontal fix.patch
      688 bytes

    Users who are viewing this thread

    Top Bottom