mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-12 17:30:38 +00:00
FileManager: Set content margin of DirectoryView to same as children
This commit is contained in:
parent
42f0b2522b
commit
9617b7ede4
Notes:
sideshowbarker
2024-07-19 07:20:05 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/9617b7ede41
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ DirectoryView::DirectoryView()
|
|||
: m_model(GUI::FileSystemModel::create())
|
||||
{
|
||||
set_active_widget(nullptr);
|
||||
set_content_margins({ 2, 2, 2, 2 });
|
||||
m_item_view = add<GUI::ItemView>();
|
||||
m_item_view->set_model(model());
|
||||
|
||||
|
|
Loading…
Reference in a new issue