andlabs / ui

Platform-native GUI library for Go.
Other
8.33k stars 651 forks source link

Alignment of elements #299

Open mandotrin opened 6 years ago

mandotrin commented 6 years ago

Hi,

How can i align my elements like in the example of the control gallery in the libui package? I´t seems there are no parameters when create a label, combobox, etc...

I played around with the horizontal and vertikal boxes but it seems a bit tricky to get a nice alignment with this.

Thanks for your help

andlabs commented 6 years ago

Those are using two containers new in libui that I have to add to package ui, Form and Grid. See #277