GUISliderControl not scaled to screen resolution (1 Viewer)

pilehave

Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    MediaPortal Version: 1.2.3

    Description
    Please see attached screenshots in 1080 and 576 resolution. Slider is not scaled to resolution.
    Looking at the code in GUISliderControl.cs all references to width and height of the control is with reference to "TextureWidth".
    Both height and width should be scaled, as all other controls.

    Steps to Reproduce:
    Run MediaPortal in fullscreen and play a video. Bring up the OSD with any slider (subtitle, audio, video).
    Notice the width of the sliders.
    Now run MediaPortal in windowed mode. Repeat above.
     

    Attachments

    • slider_1080.jpg
      slider_1080.jpg
      163 KB
    • slider_576.jpg
      slider_576.jpg
      70.2 KB

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    Looks pretty clear to me. Since you have worked out where this is in the code, do you have a fix for it?
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    • Thread starter
    • Moderator
    • #3
    Looks pretty clear to me. Since you have worked out where this is in the code, do you have a fix for it?

    I do, but I have problems building with GIT :/

    Will get back with a solution :)

    Generally speaking, it is quite clear that the controls where never meant to be scaled back in the old days with 720x576 resolution only, but now that we have 1920x1080 TVs the missing scaling is just horrible.
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    • Thread starter
    • Moderator
    • #4
    OK, I successfully build with GIT now, and here's two screenshots in same size as the ones in post #2. But this time they are scaled correctly.

    Should I give GIT-branching a try? I guess I could...
     

    Attachments

    • slider_576ok.jpg
      slider_576ok.jpg
      73.9 KB
    • slider_1080ok.jpg
      slider_1080ok.jpg
      133.2 KB

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    • Thread starter
    • Moderator
    • #9

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    I guess just post the patch and someone will take care of it. I'll make sure :)
     

    Users who are viewing this thread

    Top Bottom