diff options
Diffstat (limited to '')
-rw-r--r-- | src/ui/dialog/settings/SettingsDialog.cpp | 2 | ||||
-rw-r--r-- | src/ui/main_window/GeneralMainWindow.cpp | 6 | ||||
-rw-r--r-- | src/ui/main_window/MainWindow.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/dialog/settings/SettingsDialog.cpp b/src/ui/dialog/settings/SettingsDialog.cpp index 0f171dea..848ee2f0 100644 --- a/src/ui/dialog/settings/SettingsDialog.cpp +++ b/src/ui/dialog/settings/SettingsDialog.cpp @@ -89,7 +89,7 @@ SettingsDialog::SettingsDialog(QWidget* parent) connect(this, &SettingsDialog::SignalRestartNeeded, qobject_cast<MainWindow*>(parent), &MainWindow::SlotSetRestartNeeded); - this->setMinimumSize(480, 680); + this->setMinimumSize(800, 600); this->adjustSize(); this->show(); } diff --git a/src/ui/main_window/GeneralMainWindow.cpp b/src/ui/main_window/GeneralMainWindow.cpp index 3c689dfe..9ea13836 100644 --- a/src/ui/main_window/GeneralMainWindow.cpp +++ b/src/ui/main_window/GeneralMainWindow.cpp @@ -59,7 +59,7 @@ void GpgFrontend::UI::GeneralMainWindow::slot_restore_settings() noexcept { QByteArray::fromBase64(window_state.window_state_data.toUtf8())); } - this->setMinimumSize(640, 480); + this->setMinimumSize(800, 600); // restore window size & location if (window_state.window_save) { @@ -91,8 +91,8 @@ void GpgFrontend::UI::GeneralMainWindow::slot_restore_settings() noexcept { } } - if (size_.width() < 640) size_.setWidth(640); - if (size_.height() < 480) size_.setHeight(480); + if (size_.width() < 800) size_.setWidth(800); + if (size_.height() < 600) size_.setHeight(600); this->move(pos_); this->resize(size_); diff --git a/src/ui/main_window/MainWindow.cpp b/src/ui/main_window/MainWindow.cpp index 1b9329c7..3106f226 100644 --- a/src/ui/main_window/MainWindow.cpp +++ b/src/ui/main_window/MainWindow.cpp @@ -43,7 +43,7 @@ namespace GpgFrontend::UI { MainWindow::MainWindow() : GeneralMainWindow("main_window") { - this->setMinimumSize(1200, 700); + this->setMinimumSize(1200, 870); this->setWindowTitle(qApp->applicationName()); } |