1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:48:11 +00:00

FileManager+LibGUI: Add a simple location textbox.

The widget layout here is a bit off and needs work.
This commit is contained in:
Andreas Kling 2019-03-03 00:34:40 +01:00
parent 63cdc3d2d5
commit d94abc4f81
5 changed files with 23 additions and 13 deletions

View file

@ -8,10 +8,10 @@ GToolBar::GToolBar(GWidget* parent)
: GWidget(parent)
{
set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
set_preferred_size({ 0, 29 });
set_preferred_size({ 0, 30 });
set_layout(make<GBoxLayout>(Orientation::Horizontal));
layout()->set_spacing(0);
layout()->set_margins({1, 1, 1, 1});
layout()->set_margins({ 2, 2, 2, 2 });
}
GToolBar::~GToolBar()