Reply to thread

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


Top Bottom