Image inside scroll area

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
Ago75
Posts: 2
Joined: Tue Sep 15, 2020 5:54 pm

Tue Sep 15, 2020 6:50 pm

Hello,
I would like to put an image inside a scroll area.
I would like the image (aspect 1:2) fo fit horizontally (contstraining proportions) inside the scroll area so that i just have a scrollbar that will pan the image along Y axis.
I'm not able to do that with standard options.

Can anyone help me? It should be easy to do as Pano2VR interface editor seems very powerful!

Thank you in advance.

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

Wed Sep 16, 2020 8:15 am

Hi Maurizio,
In the scroll area element turn off the horizontal scroller.
Regards,
Hopki
Garden Gnome Software 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/
Ago75
Posts: 2
Joined: Tue Sep 15, 2020 5:54 pm

Wed Sep 16, 2020 10:31 am

Hi Hopki,
thank you for the reply,
I've already turned off the horizontal scrollbar, and customized the remaining vertical one.
However I'm unable to make the image (which is inside the scrollarea) to fit the scrollarea horizontally.
I've set scrollarea width and height to 80% in order to keep a little margin around the area and it works fine.
I've added the image inside the scroll area, but i'm not able to make it fit horizontally (the image has to scale up or down to fill the entire scrollarea) and keep the correct aspect ratio.
No matter what method I use for scaling (% or px).
I can make the image fill the scroll area using 100% for width and height (on the image) but I lose the aspect ratio.

Maybe I'm missing something...

Thank you again.

Maurizio
Post Reply