View Single Post
Guest | Posts: n/a | Thanked: 0 times | Joined on
#3
I edited mainwindow.ccp like that:
Code:
void MainWindow::selfAssignLayout()
{
centralWidget = new QWidget(); //centralWidget->setLayout(autoLayout); QHBoxLayout *htest = new QHBoxLayout(); centralWidget->setLayout(htest); htest->addWidget(new QPushButton("test")); htest->addWidget(new QPushButton("test")); this->setCentralWidget(centralWidget);
}
that works perfect so the PLLayout stuff seems to make something wrong but thats not from me. It's from forum.nokia.com so I thought it should work.

The hole PLLayout class has no sizing stuff in it, so I really on't know whats the reasing for this.

Last edited by XenGi; 2011-03-16 at 10:21.