summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-30 15:58:53 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-30 15:58:53 +0200
commit1fa467a424f12619d3989774c492353092cfd344 (patch)
tree3a877a9cef2dd32507a103e4acbb72dec99ace47 /Applications
parentdaf44d5ec5241bc5bb15fa3e02650116684d01d6 (diff)
downloadserenity-1fa467a424f12619d3989774c492353092cfd344.zip
Launcher: Tighten up the widget layout a bit.
Diffstat (limited to 'Applications')
-rw-r--r--Applications/Launcher/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Applications/Launcher/main.cpp b/Applications/Launcher/main.cpp
index 2e56508ada..4d3829da1b 100644
--- a/Applications/Launcher/main.cpp
+++ b/Applications/Launcher/main.cpp
@@ -68,13 +68,14 @@ GWindow* make_launcher_window()
auto* window = new GWindow;
window->set_title("Launcher");
- window->set_rect(50, 50, 50, config->groups().size() * 55 + 15);
+ window->set_rect(50, 50, 50, config->groups().size() * 50);
window->set_show_titlebar(false);
auto* widget = new GWidget;
widget->set_fill_with_background_color(true);
widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
- widget->layout()->set_margins({ 5, 5, 5, 5 });
+ widget->layout()->set_spacing(0);
+ widget->layout()->set_margins({ 5, 0, 5, 0 });
window->set_main_widget(widget);
for (auto& group : config->groups()) {