diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-18 22:29:13 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-18 22:29:13 +0100 |
commit | 825fd11d0cea3f4ea4e45938f544f105a6497091 (patch) | |
tree | 7dd08a40e3bf41e5cd44f4934d2a76555184b635 | |
parent | 35326d3dc5bfe8585b6fce5821a802dad9d4a2ad (diff) | |
parent | 67baca551403698c207cbc2555588f3049121c36 (diff) | |
download | redot-engine-825fd11d0cea3f4ea4e45938f544f105a6497091.tar.gz |
Merge pull request #71627 from KoBeWi/big_dock
Increase default size of docks
-rw-r--r-- | editor/editor_node.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 62223b2445..7beea04589 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -7068,8 +7068,8 @@ EditorNode::EditorNode() { right_r_vsplit->hide(); // Add some offsets to left_r and main hsplits to make LEFT_R and RIGHT_L docks wider than minsize. - left_r_hsplit->set_split_offset(70 * EDSCALE); - main_hsplit->set_split_offset(-70 * EDSCALE); + left_r_hsplit->set_split_offset(270 * EDSCALE); + main_hsplit->set_split_offset(-270 * EDSCALE); // Define corresponding default layout. @@ -7084,8 +7084,8 @@ EditorNode::EditorNode() { default_layout->set_value(docks_section, "dock_split_" + itos(i + 1), 0); } default_layout->set_value(docks_section, "dock_hsplit_1", 0); - default_layout->set_value(docks_section, "dock_hsplit_2", 70 * EDSCALE); - default_layout->set_value(docks_section, "dock_hsplit_3", -70 * EDSCALE); + default_layout->set_value(docks_section, "dock_hsplit_2", 270 * EDSCALE); + default_layout->set_value(docks_section, "dock_hsplit_3", -270 * EDSCALE); default_layout->set_value(docks_section, "dock_hsplit_4", 0); _update_layouts_menu(); |