1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 14:55:07 +00:00

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

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