changed size of settings dialog
This commit is contained in:
parent
12a151a0c3
commit
d653152bdc
1 changed files with 4 additions and 4 deletions
|
@ -249,8 +249,8 @@ DlgSettings::DlgSettings(CardDatabase *_db, QTranslator *_translator, QWidget *p
|
||||||
contentsWidget->setViewMode(QListView::IconMode);
|
contentsWidget->setViewMode(QListView::IconMode);
|
||||||
contentsWidget->setIconSize(QSize(96, 84));
|
contentsWidget->setIconSize(QSize(96, 84));
|
||||||
contentsWidget->setMovement(QListView::Static);
|
contentsWidget->setMovement(QListView::Static);
|
||||||
contentsWidget->setMinimumWidth(128);
|
contentsWidget->setMinimumWidth(115);
|
||||||
contentsWidget->setMaximumWidth(150);
|
contentsWidget->setMaximumWidth(115);
|
||||||
contentsWidget->setSpacing(12);
|
contentsWidget->setSpacing(12);
|
||||||
|
|
||||||
pagesWidget = new QStackedWidget;
|
pagesWidget = new QStackedWidget;
|
||||||
|
@ -278,14 +278,14 @@ DlgSettings::DlgSettings(CardDatabase *_db, QTranslator *_translator, QWidget *p
|
||||||
|
|
||||||
QVBoxLayout *mainLayout = new QVBoxLayout;
|
QVBoxLayout *mainLayout = new QVBoxLayout;
|
||||||
mainLayout->addLayout(hboxLayout);
|
mainLayout->addLayout(hboxLayout);
|
||||||
mainLayout->addStretch(1);
|
//mainLayout->addStretch(1);
|
||||||
mainLayout->addSpacing(12);
|
mainLayout->addSpacing(12);
|
||||||
mainLayout->addLayout(buttonsLayout);
|
mainLayout->addLayout(buttonsLayout);
|
||||||
setLayout(mainLayout);
|
setLayout(mainLayout);
|
||||||
|
|
||||||
retranslateUi();
|
retranslateUi();
|
||||||
|
|
||||||
resize(700, sizeHint().height());
|
resize(700, 450);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DlgSettings::createIcons()
|
void DlgSettings::createIcons()
|
||||||
|
|
Loading…
Reference in a new issue