From d2ec64ace047c9f7e5a50cb8218a76fc26586316 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 2 Jul 2019 21:49:00 +0200 Subject: [PATCH] Launcher: The "Launcher" config file group shouldn't take up visual space. Also tweak Launcher.ini since CConfigFile bools are 1/0 rather than true/false. We should probably use true/false. Or switch over to JSON. --- Applications/Launcher/main.cpp | 2 +- Base/home/anon/Launcher.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications/Launcher/main.cpp b/Applications/Launcher/main.cpp index e204ce0c33..7716e6722c 100644 --- a/Applications/Launcher/main.cpp +++ b/Applications/Launcher/main.cpp @@ -69,7 +69,7 @@ GWindow* make_launcher_window() auto* window = new GWindow; window->set_title("Launcher"); - int launcher_size = config->groups().size() * 50; + int launcher_size = (config->groups().size() - 1) * 50; window->set_rect(50, 50, vertical ? 50 : launcher_size, vertical ? launcher_size : 50); window->set_show_titlebar(false); diff --git a/Base/home/anon/Launcher.ini b/Base/home/anon/Launcher.ini index 5e3cf8ba8d..a4cd1a1078 100644 --- a/Base/home/anon/Launcher.ini +++ b/Base/home/anon/Launcher.ini @@ -1,5 +1,5 @@ [Launcher] -vertical=false +vertical=0 [Terminal] Path=/bin/Terminal