home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Skins and Design
Making inbuilt plugins Skin resolution aware
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="osre" data-source="post: 1131087" data-attributes="member: 150866"><p>You also could add an Parameter to the Extension which scales the actual value (if it's an numeric one) according to the actual Resolution.</p><p>Lets say you have a resource value of 100 for 1080.</p><p>Your actual Resolution is 1200.</p><p>When you turn on the Auto scaling, then the following would happen.</p><ol> <li data-xf-list-type="ol">Look for 1200 value</li> <li data-xf-list-type="ol">if 1200 value not found -> look for next smaler one</li> <li data-xf-list-type="ol">1080 value found: 100</li> <li data-xf-list-type="ol">if AutoScale == true: value = value * actualResolution / resourceResoulution<br /> -> 111.11 = 100 * 1200 / 1080</li> </ol></blockquote><p></p>
[QUOTE="osre, post: 1131087, member: 150866"] You also could add an Parameter to the Extension which scales the actual value (if it's an numeric one) according to the actual Resolution. Lets say you have a resource value of 100 for 1080. Your actual Resolution is 1200. When you turn on the Auto scaling, then the following would happen. [LIST=1] [*]Look for 1200 value [*]if 1200 value not found -> look for next smaler one [*]1080 value found: 100 [*]if AutoScale == true: value = value * actualResolution / resourceResoulution -> 111.11 = 100 * 1200 / 1080 [/LIST] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
Making inbuilt plugins Skin resolution aware
Contact us
RSS
Top
Bottom