mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 10:18:15 +09:00
LibGUI: Make StatusBar 2px shorter vertically for a snugger fit
This commit is contained in:
parent
3af8fcc839
commit
108c08eb49
Notes:
sideshowbarker
2024-07-19 07:22:00 +09:00
Author: https://github.com/awesomekling
Commit: 108c08eb49
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ namespace GUI {
|
||||||
StatusBar::StatusBar(int label_count)
|
StatusBar::StatusBar(int label_count)
|
||||||
{
|
{
|
||||||
set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
|
set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
|
||||||
set_preferred_size(0, 20);
|
set_preferred_size(0, 18);
|
||||||
set_layout<HorizontalBoxLayout>();
|
set_layout<HorizontalBoxLayout>();
|
||||||
layout()->set_margins({ 0, 0, 0, 0 });
|
layout()->set_margins({ 0, 0, 0, 0 });
|
||||||
layout()->set_spacing(2);
|
layout()->set_spacing(2);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue