Center aligment problem of tablewidget
Unsolved
General and Desktop
-
wrote on 1 May 2021, 16:46 last edited by fres 5 Jan 2021, 16:48
-
Hi,
Looks like your widgets are not part of the horizontal layout.
-
When in run my application, i got this :
But i want all item to be align on the center of the window
I tried to do this:
But it doesn't work!
Thank you!
This is what it looks like without spacer:
-
See here for the documentation on how to use layouts in designer.
-
wrote on 3 May 2021, 00:00 last edited by
@fres I feel Horizontal spacer is not set properly.
First Apply Layout to the things(sidebar1,Chessboard,sidebar2) which you want to be at the center of the widget.
Then set Horizontal layout with HSpacerLeft + Centercontent + HSpacerRight
5/6