Group Node - Horizontal Layout


#1

I notice that the Group UI node places content in a vertical layout regardless of the Group width.

I want to display something like a Toolbar at the top of my layout. It has a size of 1x20.
I want the tool buttons to layout horizontally across the width.

How can I do this?

Thanks!


#2

Hi @tcontrada

the widgets will be laid out horizontally if they are sized properly.

By default, a widget is set to fill the horizontal space of the group its in. But you can change that to a fixed width via its edit dialog.

So if you have a 20x1 (width then height) group, then if you make each button 1x1 then you will get 20 of them in a row.


#3

Thanks, worked perfectly!