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 1
MediaPortal 1 Skins
Using skin expressions to change control location and size based on skin width?
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="2BitSculptor" data-source="post: 1158333" data-attributes="member: 65661"><p>I'm making some mods to aMPed to expand the screen to 1920x1080 from 1280x720. I would like to use the current aMPed config without modification. Most of the width/posX related values in the controls are adjusted by styles in the reference.xml, while the height/posY related values are based on a 720 high screen.</p><p></p><p>I would like to evaluate the skin width as a condition to use either a multiplier of 1 or a multiplier of 1.5 for the base height/posY related value, eg., if the screen width is 1920 then posY = x*1.5, else posY = x*1.</p><p></p><p>I think this would be better than duplicating all relevant controls, in every effected xml, changing the values and adding visibility conditions. It should only take a find function in the xml editor to replace current values.Then all I would need would be to add a new \Font Sizes\HD\ folder for revised fonts.xml and revised references.xml.</p><p></p><p>I'm having difficulty wrapping my head around the expression needed. I would appreciate any help (ie... example expression)</p><p></p><p>Thanks!</p><p></p><p>Chuck</p></blockquote><p></p>
[QUOTE="2BitSculptor, post: 1158333, member: 65661"] I'm making some mods to aMPed to expand the screen to 1920x1080 from 1280x720. I would like to use the current aMPed config without modification. Most of the width/posX related values in the controls are adjusted by styles in the reference.xml, while the height/posY related values are based on a 720 high screen. I would like to evaluate the skin width as a condition to use either a multiplier of 1 or a multiplier of 1.5 for the base height/posY related value, eg., if the screen width is 1920 then posY = x*1.5, else posY = x*1. I think this would be better than duplicating all relevant controls, in every effected xml, changing the values and adding visibility conditions. It should only take a find function in the xml editor to replace current values.Then all I would need would be to add a new \Font Sizes\HD\ folder for revised fonts.xml and revised references.xml. I'm having difficulty wrapping my head around the expression needed. I would appreciate any help (ie... example expression) Thanks! Chuck [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Using skin expressions to change control location and size based on skin width?
Contact us
RSS
Top
Bottom