Set widget in center in QDesigner

SIFE picture SIFE · Mar 22, 2011 · Viewed 22.7k times · Source

Is it possible to set widget in center of dialog or windows in QDesigner, say I have a widget contain 3 line edits and labels and I want to set this widget in center of window.

Answer

AndiDog picture AndiDog · Dec 10, 2012

In latest Qt Designer, right-click a widget in the Object Inspector and choose your preference under Layout Alignment.

Layout Alignment