Merge pull request #71627 from KoBeWi/big_dock
Increase default size of docks
This commit is contained in:
commit
825fd11d0c
1 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue