mix of size in px and %

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
MPW
Posts: 128
Joined: Wed Mar 06, 2013 4:22 pm
Location: Germany

Hi,

is there any chance to build a logicblock with one condition that creates a size in pixle and one condition that´s putting out a percentage for the size?

E.g.: in landscape give me a popup in 400x400px, in landscape make it 90%x90%

Thank you for the help

Marcel
User avatar
Hopki
Gnome
Posts: 13309
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Marcel,
You can already do this.
Select CSS then set the size in pixels, so 1024px.
Note you need to add “px”.
Then in the logic block add 90%.
Again you need to add the percentage sign.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
MPW
Posts: 128
Joined: Wed Mar 06, 2013 4:22 pm
Location: Germany

That´s great. No more need to work with an element tree in two versions.
Thank you!
Post Reply