[Qt-interest] QVBoxLayout widget spacing

Gabriel M. Beddingfield gabrbedd at gmail.com
Sat May 1 22:33:23 CEST 2010



On Sat, 1 May 2010, Harold Hausman wrote:

> I'd like the layout to instead add the widget at the top of the
> layout. Is there a way to set it up to do this? Essentially, instead

Try this:

layout->addWidget(solo);
layout->addStretch();

-gabriel




More information about the Qt-interest-old mailing list