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.
This commit is contained in:
Andreas Kling 2019-07-02 21:49:00 +02:00
parent 8a2123e385
commit d2ec64ace0
Notes: sideshowbarker 2024-07-19 13:24:22 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -1,5 +1,5 @@
[Launcher]
vertical=false
vertical=0
[Terminal]
Path=/bin/Terminal