Sfoglia il codice sorgente

FileManager: Tweak layout spacing (new default looks weird here.)

This app needs a layout rethink, but for now I'm just fixing breakage.
Andreas Kling 6 anni fa
parent
commit
1ab66e4d33
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      Applications/FileManager/main.cpp

+ 1 - 0
Applications/FileManager/main.cpp

@@ -41,6 +41,7 @@ int main(int argc, char** argv)
 
     auto* widget = new GWidget;
     widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
+    widget->layout()->set_spacing(0);
 
     auto* main_toolbar = new GToolBar(widget);
     auto* location_toolbar = new GToolBar(widget);