瀏覽代碼

FileManager: Tweak layout spacing in file properties window

There wasn't enough vertical spacing between the TabWidget and the three
(Ok/Cancel/Apply) buttons at the bottom.
Andreas Kling 3 年之前
父節點
當前提交
a5992a4ef8
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Userland/Applications/FileManager/PropertiesWindow.cpp

+ 1 - 0
Userland/Applications/FileManager/PropertiesWindow.cpp

@@ -32,6 +32,7 @@ PropertiesWindow::PropertiesWindow(String const& path, bool disable_rename, Wind
 
 
     auto& main_widget = set_main_widget<GUI::Widget>();
     auto& main_widget = set_main_widget<GUI::Widget>();
     main_widget.set_layout<GUI::VerticalBoxLayout>();
     main_widget.set_layout<GUI::VerticalBoxLayout>();
+    main_widget.layout()->set_spacing(6);
     main_widget.layout()->set_margins(4);
     main_widget.layout()->set_margins(4);
     main_widget.set_fill_with_background_color(true);
     main_widget.set_fill_with_background_color(true);