From 8a3a1b9510d20dfb81c3c737779bb9de3c73f15a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 28 Mar 2022 23:18:49 +0200 Subject: opentrack: require more vertical space for embedding --- opentrack/main-window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opentrack') diff --git a/opentrack/main-window.cpp b/opentrack/main-window.cpp index c514f304..1fded8e0 100644 --- a/opentrack/main-window.cpp +++ b/opentrack/main-window.cpp @@ -602,7 +602,7 @@ bool main_window::module_tabs_enabled() const return false; // Windows 10: 40px, Windows 11: 48px, KDE: 51px constexpr int taskbar_size = 51; - constexpr int min_avail_height = 864 - taskbar_size; + constexpr int min_avail_height = 910 - taskbar_size; QRect rect = d->availableGeometry(this); return rect.height() >= min_avail_height; } -- cgit v1.2.3