Reputation: 111
Usign QTDesigner it's not clear to me how to keep a button aligned to the right also when the form is resized..
Button is placed inside a tab widget that is resized correctly. I try different layout but no one works for me...
Any suggestion ? Many thanks!
Upvotes: 3
Views: 3216
Reputation: 120598
Put the button in a horizontal or grid layout, and then put an expanding horizontal spacer on the left-hand side of the button (so it pushes it to the right):
Upvotes: 5