mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:27:35 +00:00
Launcher: Tighten up the widget layout a bit.
This commit is contained in:
parent
daf44d5ec5
commit
1fa467a424
1 changed files with 3 additions and 2 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue