浏览代码

HackStudio: Make Files and Classes tabs have the same border width

This is something I messed up, back in
77ad0fdb0726aba2ecaf7ea9764a642671d1fd6f. Oops!
Sam Atkins 1 年之前
父节点
当前提交
aeed1e04ca
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Userland/DevTools/HackStudio/HackStudioWidget.cpp

+ 2 - 2
Userland/DevTools/HackStudio/HackStudioWidget.cpp

@@ -1389,13 +1389,13 @@ void HackStudioWidget::create_project_tab(GUI::Widget& parent)
     m_project_tab->set_tab_position(TabPosition::Bottom);
     m_project_tab->set_tab_position(TabPosition::Bottom);
 
 
     auto& tree_view_container = m_project_tab->add_tab<GUI::Widget>("Files"_string);
     auto& tree_view_container = m_project_tab->add_tab<GUI::Widget>("Files"_string);
-    tree_view_container.set_layout<GUI::VerticalBoxLayout>(GUI::Margins {}, 2);
+    tree_view_container.set_layout<GUI::VerticalBoxLayout>();
 
 
     m_project_tree_view = tree_view_container.add<GUI::TreeView>();
     m_project_tree_view = tree_view_container.add<GUI::TreeView>();
     configure_project_tree_view();
     configure_project_tree_view();
 
 
     auto& class_view_container = m_project_tab->add_tab<GUI::Widget>("Classes"_string);
     auto& class_view_container = m_project_tab->add_tab<GUI::Widget>("Classes"_string);
-    class_view_container.set_layout<GUI::VerticalBoxLayout>(2);
+    class_view_container.set_layout<GUI::VerticalBoxLayout>();
 
 
     m_class_view = class_view_container.add<ClassViewWidget>();
     m_class_view = class_view_container.add<ClassViewWidget>();