1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 06:23:53 +00:00

More modifications

This commit is contained in:
Pieter van der Kloet 2011-04-13 22:59:03 +02:00
parent fc095b902d
commit 5754a132c5
2 changed files with 5 additions and 9 deletions

View file

@ -32,15 +32,14 @@ DataFilesPage::DataFilesPage(QWidget *parent) : QWidget(parent)
// Add both tables to a splitter // Add both tables to a splitter
QSplitter *splitter = new QSplitter(this); QSplitter *splitter = new QSplitter(this);
splitter->setOrientation(Qt::Vertical); splitter->setOrientation(Qt::Horizontal);
splitter->addWidget(mPluginsTable);
splitter->addWidget(mMastersWidget); splitter->addWidget(mMastersWidget);
splitter->addWidget(mPluginsTable);
// Adjust the default widget widths inside the splitter
// Adjust the default widget heights inside the splitter
QList<int> sizeList; QList<int> sizeList;
sizeList << 200 << 400; sizeList << 100 << 300;
splitter->setSizes(sizeList); splitter->setSizes(sizeList);
// Bottom part with profile options // Bottom part with profile options

View file

@ -26,9 +26,6 @@ MainDialog::MainDialog()
mIconWidget->setFixedHeight(80); mIconWidget->setFixedHeight(80);
mIconWidget->setSpacing(4); mIconWidget->setSpacing(4);
mIconWidget->setCurrentRow(0); mIconWidget->setCurrentRow(0);
//QSize itemSize(80, 80);
//mIconWidget->setGridSize ( itemSize );
mIconWidget->setFlow(QListView::LeftToRight); mIconWidget->setFlow(QListView::LeftToRight);