FileManager: Set content margin of DirectoryView to same as children

This commit is contained in:
Andreas Kling 2020-04-24 19:02:59 +02:00
parent 42f0b2522b
commit 9617b7ede4
Notes: sideshowbarker 2024-07-19 07:20:05 +09:00

View file

@ -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());