On Saturday, 22 July 2006 09:24, D. Michael 'Silvan' McIntyre wrote: > I have the same problem here I had in the TPB. The widgets stretch out > like crazy top to bottom unless I put in a stupid extra label. Pedro fixed > my dummy label somehow in the TPB, and I can't work out how. I currently > have another jubilant dummy label.
You can commit it, and I will try to fix it. Anyway, I think that you need to look at the top of the constructor, some lines saying: // Size of the layout grid: // number of rows = 17 // number of columns = 4 QGridLayout *mainLayout = new QGridLayout(this, 17, 4, 4, 2); If you need more rows, please update the "17" rows count. Set it to one more than the minimum rows count needed. This trick will enable the code near to the bottom to stretch the empty space automatically: // Configure the empty final row to accomodate any extra vertical space. // mainLayout->setRowStretch(mainLayout->numRows()-1, 1); // Configure the empty final column to accomodate any extra horizontal // space. mainLayout->setColStretch(mainLayout->numCols()-1, 1); So you won't need to add extra labels at all. > > Anyway, I'm starting to go cross-eyed looking at all this > > if (foo = Some) > foo = All Shouldn't it be: > if (foo == Some) > foo = All ? > Or maybe I will go to bed and sleep. That kind of sounds like a good idea, > actually. > > Yes. Sleep. What I need is to go to the beach, or to the shower again. I'm melting. Regards, Pedro ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Rosegarden-devel mailing list Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel