瀏覽代碼

WidgetGallery: Tweak UI layout for "Modals" tab

Andreas Kling 4 年之前
父節點
當前提交
0c7f3296e3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Demos/WidgetGallery/main.cpp

+ 1 - 1
Demos/WidgetGallery/main.cpp

@@ -437,7 +437,7 @@ int main(int argc, char** argv)
     auto& input_group_box = tab_modals.add<GUI::GroupBox>("Input boxes");
     input_group_box.set_layout<GUI::VerticalBoxLayout>();
     input_group_box.layout()->set_margins({ 4, 12, 4, 4 });
-    input_group_box.set_fixed_height(160);
+    input_group_box.set_fixed_height(140);
 
     input_group_box.layout()->add_spacer();