Page 1 of 1

Help with GUI - stretch scroll-pane

Posted: Sun May 01, 2022 11:12 pm
by yaim904
I want to stretch the scroll-pane pointed in the image as 1.
I want it to occupy all the available space, the space is marked as 2.
(11).png
(11).png (8.25 KiB) Viewed 1009 times

Attached additional images for more detail of the situation.

Re: Help with GUI - stretch scroll-pane

Posted: Wed May 04, 2022 11:45 am
by yaim904
I tried to fix it on my own, but I made it worse.

I need someone to explain to me how the property vertically_stretchable works and what I am doing wrong.

Code: Select all

Element.style.vertically_stretchable = true

Re: Help with GUI - stretch scroll-pane

Posted: Tue May 10, 2022 1:46 pm
by yaim904
I get it.

This option does not always work as it is supposed to do.

Code: Select all

Element.style.vertically_stretchable = true
I had to give specific heights to many of the elements, which affects it when I change the scale.