You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tig
changed the title
Add Pos.Justify to ease aligning subviews: Left, Right, Center, Justify
Add Pos.Align to ease aligning subviews: Left, Right, Center, JustifyMay 10, 2024
Pos/Dim work wonders for layout. However, aligning a set of controls (e.g. in the center) requires quite a bit of annoying code.
E.g.
Dialog
has this code to center buttons:The new
Wizard
has fairly generic code for center, justify, right, and left alignment of buttons.I would be easy to extract this code such that it would be easy to take a group of controls and horizontally align them.
The same thing could be done vertically.
e.g.
The text was updated successfully, but these errors were encountered: