#Keeping hboxcontainer the same size

1 messages · Page 1 of 1 (latest)

sudden scarab
#

Can I keep a hboxcontainer the same size as more child nodes are added, and instead decrease the separation value so they move closer together or the like, so that things don't move out of frame?

#

If hboxcontainers are the wrong thing to use there, feel free to point that out also.

raw wyvern
#

Like this?

#

hbox has alignment set to center

#

buttons are set with horizontal alignment = shrink center and expand = on

sudden scarab
#

Yes, but when there's too many elements in the box to contain them at its current size, I don't want the hbox to expand to the left/right, but the spacing between the elements to reduce (so as there's more elements they overlap more and more, but the hbox stays at the same size)