mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Increase default size of docks
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user