mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 21:25:07 +00:00
FileManager: Set content margin of DirectoryView to same as children
This commit is contained in:
parent
42f0b2522b
commit
9617b7ede4
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ DirectoryView::DirectoryView()
|
||||||
: m_model(GUI::FileSystemModel::create())
|
: m_model(GUI::FileSystemModel::create())
|
||||||
{
|
{
|
||||||
set_active_widget(nullptr);
|
set_active_widget(nullptr);
|
||||||
|
set_content_margins({ 2, 2, 2, 2 });
|
||||||
m_item_view = add<GUI::ItemView>();
|
m_item_view = add<GUI::ItemView>();
|
||||||
m_item_view->set_model(model());
|
m_item_view->set_model(model());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue