Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, July 2007
QStackedLayout setSpacing() issue/question


Message 1 in thread

Ive got a QSplitter window with a widget at the top
of one side of the splitter (horizontal) in a QMainwindow.

For this top widget, I have 3 sets of gridlayouts, 2 rows
and n columns wide.  My stackedlayout is in the center,
but it appears it doesnt matter which position its in.
Im trying to keep the columns from expanding apart when
the user widens the window, but cant seem to keep it
from doing so, it always spreads out.  Ive set the
spacing to 0, Ive also tried setting the columnstretch
to zero, but nothing I try seems to do what I want.

Im wondering if this is either a bug or a limitation 
for a stackedlayout?  Anyone have any ideas what I might
try next?  This is QT4.3.0

Thanks,
Jeff

--
 [ signature omitted ]