ONE skin for all resolutions - possible ?!? (1 Viewer)

polarie

Retired Team Member
  • Premium Supporter
  • November 20, 2006
    1,252
    152
    52
    Hasloh (near Hamburg)
    Home Country
    Germany Germany
    hi there ...

    just got a question couse i have an idea (but do not know if that should work) :

    preamble

    i just create the dark essentials skin -
    in my office i have a 19" LCD with max resolution 1440x900

    @ home i use a video-projector with a max resolution 1280x720 (nativ 1280x800)
    so my first attemp of the skin (v0.1) was a little dissaster
    couse i build it on core-reloaded which was 1366x786
    fixt it (in my office) - so all looks fine ...
    tested it @ home nothing fits - no wonder - other ressolution ...

    now the question:

    is it possible to change the coordinates in the xml file to somthing more usable?

    example

    max resolution is 1280x720 f.e. the middle of the screen would be

    <posX>640</posX>
    <posY>360</posY>

    better would be a kind of percent data:

    <posX>50%</posX>
    <posY>50%</posY>

    so a button would also have the right possition @ other reslolutions
    i know that a percent data is not readable - but is there an other kind of solution...?

    if the percent data would work ... all kind of sizes could also be defined in that way ..

    result would be that - ONE skin fits all kind of resolutions

    hope u understand what i mean ... (i still have a lousy english :D i know)

    kind regards
     

    revs

    MP Donator
  • Premium Supporter
  • February 1, 2007
    1,274
    72
    The Sauce of Worcester
    Home Country
    Wales Wales
    I think it would end up being a lot of hassle and quite difficult to design for.

    The current engine can scale any skin as long as the ratio is the same. So if we assume for a minute that you are using MediaPortal with a TV (As it is a Media Centre app). Then the possible resolutions are 16:9 or 4:3. So 2 skins will be needed.

    Some people will use monitors with 5:4 or 16:10 ratios, but probably not many.
     

    polarie

    Retired Team Member
  • Premium Supporter
  • November 20, 2006
    1,252
    152
    52
    Hasloh (near Hamburg)
    Home Country
    Germany Germany
    ah ok - thx for the information with the scaling -
    i thought that something like skin scaling is in the engine ...

    so there must be a mistake in my skin-files?

    couse there is still a difference in the possitions of the hover-grafics
    not the menus - only the hover grafics are in different possitions
    @ different ressolutions/monitors/projectors ... :confused:

    any idea ...?

    EDIT:

    did two screenshots @ different resolution

    in the red circle u see what i mean ...
     

    Attachments

    • 1280x720.JPG
      1280x720.JPG
      27.9 KB
    • 1440x900.JPG
      1440x900.JPG
      34.3 KB

    Users who are viewing this thread

    Top Bottom