1.16.0 Skinengine doesn't scale proper with 4 resolutions. (1 Viewer)

Helios61

Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,587
    873
    62
    NRW
    Home Country
    Germany Germany
    MP 1.16.0
    Skin: Default Wide HD

    Hi,
    i've noticed that skinengine doesn't scale proper for 4K resolution. It is working fine with 1080p. Screenshot is attached. ->

    16-27-56.jpg


    Best regards
    Helios
     
    Last edited:

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,363
    10,399
    Königstein (Taunus)
    Home Country
    Germany Germany
    From your screenshot it seems that the distance of properties inside a group stacklayout (<layout>StackLayout(142, Vertical, true)</layout>) are miscalculated in 4K :whistle:
     

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,587
    873
    62
    NRW
    Home Country
    Germany Germany
    Please tell us what setting you're using for Windows desktop/font scaling (DPI).
    Both 100%. Unfortunately the Win7 dpi settings (control panel) are replaced by new windows10 settings ->Link<-

    From your screenshot it seems that the distance of properties inside a group stacklayout (<layout>StackLayout(142, Vertical, true)</layout>) are miscalculated in 4K
    Does it mean, that this issue is skin related, not skin engine?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,369
    Kyiv
    Home Country
    Ukraine Ukraine
    From your screenshot it seems that the distance of properties inside a group stacklayout
    I did not find in the group Layout, not one call to the ScaleToScreenResolution function. Like: MediaPortal-1/GUIControl.cs at master · MediaPortal/MediaPortal-1 · GitHub
    Therefore, not one value specified in the skin for Layout is not recalculated to the current screen resolution. Most likely it needs to be added to Layout.
    • StackLayout - spacing
    • GridLayout - spacing, horizontalSpacing, verticalSpacing
    • RingLayout - spacing, horizontalSpacing, verticalSpacing
    • TableLayout - width, spacing, horizontalSpacing, verticalSpacing
    To recalculate the distance between the elements.
    But I'm not sure Whether this function will be called or not. :):whistle::coffee:
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,363
    10,399
    Königstein (Taunus)
    Home Country
    Germany Germany
    not one call to the ScaleToScreenResolution function.
    That´s what I thought already a long time ;)
    These misplacements also happen if someone has a resolution of e.g. 1600x1200 or any other different from 1920x1080 ;)
    Can you possibly "repair" it (add the ScaleToScreenResolution function) ;)
     

    Users who are viewing this thread

    Similar threads

    Did you see this thread ? The poster in that thread could not get MP's Schedules Direct plugin to work. I tried it on my test system (I don't have a Schedules Direct account), but I could not get it to work either. @framug mentioned that the plugins run no more than once per day, so that may have been my problem. However... I...
    Did you see this thread ? The poster in that thread could not get MP's Schedules Direct plugin to work. I tried it on my test...
    It seems an old annoyance is still around (many previous versions) The red dot doesn't always display in TV Guide or scheduler for...
    Replies
    8
    Views
    1K
    You are right, the one on the repository is correct, not sure how I ended up with a different version. See attached the incorrect version I ended up with.
    You are right, the one on the repository is correct, not sure how I ended up with a different version. See attached the incorrect...
    We have just released MediaPortal 1.32 Halloween Thanks to the great work of our new developer Pablik we are now able to present...
    Replies
    33
    Views
    4K
    Solved!! After testing the procedure on the old machine I uninstalled the LAV filters before re-installing MediaPortal and that did the trick! Thanks all for your help with this.
    Solved!! After testing the procedure on the old machine I uninstalled the LAV filters before re-installing MediaPortal and that did...
    I recently installed MediaPortal 2.4 on a new computer and copied several TV shows from the previous one to an external drive...
    Replies
    9
    Views
    3K
    I noticed IMDb+ is working, except the popularity is not getting scraped.
    I noticed IMDb+ is working, except the popularity is not getting scraped.
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    36
    Views
    5K
    Hallo Patrik-See, Windows can handle different resulutions on the Screens, Of course the Setup is in "extended Mode" so the small Touchscreen is the Main screen and the TV is the extended Screen. Typically I use the the HTPC to listen to Music or Radio, therefore i use the "old" Winamp. The winamp can be easily started and...
    Hallo Patrik-See, Windows can handle different resulutions on the Screens, Of course the Setup is in "extended Mode" so the small...
    Hello folks, I just want to show you my HTPC upgrade. During the last weeks I've had some spare time and decided to update to...
    Replies
    4
    Views
    7K
    Top Bottom