Top alignment of items
General and Desktop
2
Posts
1
Posters
555
Views
1
Watching
-
i have a QTabWidget and in a tab i created a QGroupBox in which i have placed a QGridLayout into which i have placed 3 rows in the first column then i added a vertical spacer (QSpacerItem) in the fourth row hoping this spacer would take up all the vertical spacing and push all the items to the top of the group box but no matter what i have tried i cannot remove a space appearing at the top.
i have tried setContentsMargins, setSpacing, etc. to no effect.
!http://i.imgur.com/2eYGphG.png()!
notice the spacing above the first button (New) i wan to remove this spacing.
thanks