diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-07-02 21:49:00 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-02 21:49:00 +0200 |
commit | d2ec64ace047c9f7e5a50cb8218a76fc26586316 (patch) | |
tree | c81cb8705c0a07ece9fdb676cfbae1ff0efe20a1 /Applications | |
parent | 8a2123e3853079c6b2d83a6ef0a438257b94ad47 (diff) | |
download | serenity-d2ec64ace047c9f7e5a50cb8218a76fc26586316.zip |
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.
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/Launcher/main.cpp | 2 |
1 files changed, 1 insertions, 1 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); |