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:
parent
8a2123e385
commit
d2ec64ace0
Notes:
sideshowbarker
2024-07-19 13:24:22 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/d2ec64ace04
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[Launcher]
|
||||
vertical=false
|
||||
vertical=0
|
||||
|
||||
[Terminal]
|
||||
Path=/bin/Terminal
|
||||
|
|
Loading…
Add table
Reference in a new issue