LibGUI: Make StatusBar 2px shorter vertically for a snugger fit

This commit is contained in:
Andreas Kling 2020-04-23 18:51:51 +02:00
parent 3af8fcc839
commit 108c08eb49
Notes: sideshowbarker 2024-07-19 07:22:00 +09:00

View File

@ -37,7 +37,7 @@ namespace GUI {
StatusBar::StatusBar(int label_count)
{
set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
set_preferred_size(0, 20);
set_preferred_size(0, 18);
set_layout<HorizontalBoxLayout>();
layout()->set_margins({ 0, 0, 0, 0 });
layout()->set_spacing(2);