diff options
author | Petr Mrázek <peterix@gmail.com> | 2019-07-17 02:09:54 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2019-07-17 02:09:54 +0200 |
commit | edc5378333eb33a3d1c17df8385d1d3fe2206ad9 (patch) | |
tree | 32115a7a7d7b3a942c3c968143230b34ee422bb0 /application | |
parent | 95febe543615c16d5b97cdd6f379c9a62102321d (diff) | |
download | MultiMC-edc5378333eb33a3d1c17df8385d1d3fe2206ad9.tar MultiMC-edc5378333eb33a3d1c17df8385d1d3fe2206ad9.tar.gz MultiMC-edc5378333eb33a3d1c17df8385d1d3fe2206ad9.tar.lz MultiMC-edc5378333eb33a3d1c17df8385d1d3fe2206ad9.tar.xz MultiMC-edc5378333eb33a3d1c17df8385d1d3fe2206ad9.zip |
NOISSUE add spacer to the screenshot page toolbar
Diffstat (limited to 'application')
-rw-r--r-- | application/pages/instance/ScreenshotsPage.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/application/pages/instance/ScreenshotsPage.cpp b/application/pages/instance/ScreenshotsPage.cpp index 0c00d1c4..b470202f 100644 --- a/application/pages/instance/ScreenshotsPage.cpp +++ b/application/pages/instance/ScreenshotsPage.cpp @@ -223,6 +223,12 @@ ScreenshotsPage::ScreenshotsPage(QString path, QWidget *parent) m_valid = FS::ensureFolderPathExists(m_folder); ui->setupUi(this); + + QWidget* spacer = new QWidget(); + spacer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); + // toolBar is a pointer to an existing toolbar + ui->toolBar->insertWidget(ui->actionView_Folder, spacer); + ui->listView->setIconSize(QSize(128, 128)); ui->listView->setGridSize(QSize(192, 160)); ui->listView->setSpacing(9); |