From 02165e3d0ea57d42f1559099408d8bb1b8838ba4 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 25 Sep 2022 04:26:11 +0200 Subject: Change window default size - Make it tall instead of wide --- src/QuickMedia.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index 54a85de..beb3e84 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -300,7 +300,7 @@ namespace QuickMedia { Program::Program() : disp(nullptr), - window_size(1280, 720), + window_size(1050, 1080), current_page(PageType::EXIT), image_index(0) { @@ -652,6 +652,9 @@ namespace QuickMedia { if(strcmp(plugin_name, "download") == 0) { window_size.x = std::min(900, monitor_size.x); window_size.y = std::min(900, monitor_size.y); + } else { + window_size.x = std::min(window_size.x, monitor_size.x); + window_size.y = std::min(window_size.y, monitor_size.y); } mgl::Window::CreateParams window_create_params; -- cgit v1.2.3