Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

QVBoxLayout: How to align widgets to the top using Qt designer

I'm using qt designer only for ui layout

This is almost the same question as this one : QVBoxLayout: How to vertically align widgets to the top instead of the center

but i'm interested on how to do that in qt designer. I don't see any option in QVBoxLayout for that top alignment.

enter image description here

like image 587
bysreg Avatar asked Mar 11 '17 22:03

bysreg


1 Answers

Right-click the relevant widget and select Layout alignment > Top.

(NB: the new alignment will only be shown in preview mode).

like image 62
ekhumoro Avatar answered Sep 19 '22 10:09

ekhumoro