#ScrollContainer with a custom dimension child with absolute size and position

4 messages · Page 1 of 1 (latest)

merry breach
#

I'm trying to make a resizable gui "window" that has a content area. I added a ScrollContainer and I want the child area to be a fixed size and the position of the elements in that child area to be fixed and absolute positions and the scroll container to show the scrollbars if the window is too small. How would I achieve that?

fervent delta
#

set a Control as the child of the scroll container and set its custom_minimum_size to the size you want. position the ui elements on this control how ever you want. the scroll container will take care of the rest

merry breach
#

thank you!

#

It works, but unfortunately there is a strange gab between the two scroll bars in the lower right corner.