NOISSUE add spacer to the screenshot page toolbar
This commit is contained in:
parent
95febe5436
commit
edc5378333
@ -223,6 +223,12 @@ ScreenshotsPage::ScreenshotsPage(QString path, QWidget *parent)
|
|||||||
m_valid = FS::ensureFolderPathExists(m_folder);
|
m_valid = FS::ensureFolderPathExists(m_folder);
|
||||||
|
|
||||||
ui->setupUi(this);
|
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->setIconSize(QSize(128, 128));
|
||||||
ui->listView->setGridSize(QSize(192, 160));
|
ui->listView->setGridSize(QSize(192, 160));
|
||||||
ui->listView->setSpacing(9);
|
ui->listView->setSpacing(9);
|
||||||
|
Loading…
Reference in New Issue
Block a user