Posts: 239
Joined: Dec 2014
Reputation:
26
M89SE
Senior Member
Posts: 239
Hi,
I would like to know how to add support for different aspect ratio and ultrawide resolutions in addon skins, is this possible without rewriting the width structure in all files creating another folder ex. 21x9?
BR
Mariusz
Posts: 1,471
Joined: Jan 2018
Reputation:
263
2020-05-12, 16:06
(This post was last modified: 2020-05-12, 16:08 by mardukL.)
In addition,
i would tend to avoid posx, posy tags, and use left,right,bottom,top values if possible instead.
Also use percentage values, instead of 'fixed' if possible.
e.g. instaed of
<height>270</height> , use
<height>25%</height>
I case some finetuning needed, you also can work with some booleans
like
String.IsEqual(Skin.AspectRatio,**)
String.IsEqual(System.ScreenWidth,**)
String.IsEqual(System.ScreenHeight,**)
Posts: 239
Joined: Dec 2014
Reputation:
26
M89SE
Senior Member
Posts: 239
Thank you for your answers. I`m looking at the estuary skin solution but is it applicable for custom skins within my addon script?