Page 1 of 1

aspect ratio of icons  [SOLVED]

PostPosted: Wed Aug 08, 2018 12:53 pm
by andreas
hi,

i positioned some buttons within the tour to fade in a floor map and one for google maps.
i set the size of the icons to 5 % width and height. the problem now is that the aspect ratio of the icons are changing
with the size of window. i don´t want to make a fixed size for the icons because the icon size is to big on mobile devices.
is there a solution to get an fixed aspect ratio for these icons ?

best regards

andreas

Re: aspect ratio of icons

PostPosted: Wed Aug 08, 2018 1:59 pm
by bdd
Set 5% for the width and 0pixels for the height.
If one dimension is set to 0, then the player will keep the image ratio.

Gérald

Re: aspect ratio of icons

PostPosted: Wed Aug 08, 2018 2:01 pm
by andreas
perfect - thank you !!!!