Increase default size of docks
This commit is contained in:
parent
e514e3732a
commit
67baca5514
@ -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 New Issue
Block a user