1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 09:57:35 +00:00

LibGUI: Make sure the ResizeCorner aligns nicely inside StatusBar

This commit is contained in:
Andreas Kling 2020-04-23 15:58:39 +02:00
parent 81ebc0cfe3
commit 5b6c2f3bd6
2 changed files with 4 additions and 4 deletions

View file

@ -39,7 +39,7 @@ StatusBar::StatusBar(int label_count)
set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
set_preferred_size(0, 20);
set_layout<HorizontalBoxLayout>();
layout()->set_margins({ 0, 2, 0, 1 });
layout()->set_margins({ 0, 3, 0, 0 });
layout()->set_spacing(2);
if (label_count < 1)