MysteryGuy
MysteryGuy

Reputation: 1151

Add layout after widgets in QtCreator

I have a Qt Designer interface where I put a lot of buttons, labels,... and now I want to add a GridLayout that englobes all the stuff. How is it possible to make the widgets belong to the GridLayout a posteriori ?

Upvotes: 0

Views: 547

Answers (1)

Eelke
Eelke

Reputation: 22013

Actually placing your widgets and then applying a GridLayout is the only way in the designer. So after you have all the widgets you want select them all, then right click, choose Layout, choose Layout in a Grid.

Upvotes: 0

Related Questions