fix - stretch to fit shortcuts table on the configuration window

This commit is contained in:
Yuriy Puchkov
2020-12-08 12:32:03 +02:00
parent 7e09b818c7
commit d48d4299e2
3 changed files with 8 additions and 7 deletions

View File

@@ -37,8 +37,8 @@ ConfigWindow::ConfigWindow(QWidget* parent)
: QTabWidget(parent)
{
setAttribute(Qt::WA_DeleteOnClose);
const int size = GlobalValues::buttonBaseSize() * 12;
setMinimumSize(size, size);
setMinimumSize(GlobalValues::buttonBaseSize() * 15,
GlobalValues::buttonBaseSize() * 12);
setWindowIcon(QIcon(":img/app/flameshot.svg"));
setWindowTitle(tr("Configuration"));