diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-07-20 23:47:46 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-07-20 23:47:46 +0200 |
commit | bc05ad30aa7c3da5d76947e82012f50466bb5d39 (patch) | |
tree | b74fb5c1cc7d73d930e555ad9427c3d4885379cb /gui/widgets/PageContainer.cpp | |
parent | e178284172396ee51acb77c2daa8135b4855c12b (diff) | |
download | MultiMC-bc05ad30aa7c3da5d76947e82012f50466bb5d39.tar MultiMC-bc05ad30aa7c3da5d76947e82012f50466bb5d39.tar.gz MultiMC-bc05ad30aa7c3da5d76947e82012f50466bb5d39.tar.lz MultiMC-bc05ad30aa7c3da5d76947e82012f50466bb5d39.tar.xz MultiMC-bc05ad30aa7c3da5d76947e82012f50466bb5d39.zip |
Rework the settings dialog. Rework all of it. Thoroughly.
Also introduces the ColumnResizer from:
https://github.com/agateau/columnresizer/
Diffstat (limited to 'gui/widgets/PageContainer.cpp')
-rw-r--r-- | gui/widgets/PageContainer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/widgets/PageContainer.cpp b/gui/widgets/PageContainer.cpp index a68f94cd..0620c725 100644 --- a/gui/widgets/PageContainer.cpp +++ b/gui/widgets/PageContainer.cpp @@ -124,6 +124,9 @@ void PageContainer::createUI() headerHLayout->addSpacerItem( new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Ignored)); headerHLayout->addWidget(m_iconHeader); + const int rightMargin = MMC->style()->pixelMetric(QStyle::PM_LayoutRightMargin); + headerHLayout->addSpacerItem( + new QSpacerItem(rightMargin, 0, QSizePolicy::Fixed, QSizePolicy::Ignored)); m_pageStack->setMargin(0); m_pageStack->addWidget(new QWidget(this)); |