Skip to content

Commit 46963fa

Browse files
committed
Merge pull request #113221 from Break-Ben/resize-right-panel
Resize right panel back to previous width
2 parents 8437869 + 281145d commit 46963fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

editor/editor_node.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8782,8 +8782,8 @@ EditorNode::EditorNode() {
87828782
editor_dock_manager->add_dock(history_dock);
87838783

87848784
// Add some offsets to left_r and main hsplits to make LEFT_R and RIGHT_L docks wider than minsize.
8785-
left_r_hsplit->set_split_offset(270 * EDSCALE);
8786-
main_hsplit->set_split_offset(-360 * EDSCALE);
8785+
left_r_hsplit->set_split_offset(280 * EDSCALE);
8786+
main_hsplit->set_split_offset(-280 * EDSCALE);
87878787

87888788
// Define corresponding default layout.
87898789

@@ -8794,7 +8794,7 @@ EditorNode::EditorNode() {
87948794
default_layout->set_value(docks_section, "dock_4", "FileSystem,History");
87958795
default_layout->set_value(docks_section, "dock_5", "Inspector,Signals,Groups");
87968796

8797-
int hsplits[] = { 0, 270, -270, 0 };
8797+
int hsplits[] = { 0, 280, -280, 0 };
87988798
DEV_ASSERT((int)std_size(hsplits) == editor_dock_manager->get_hsplit_count());
87998799
for (int i = 0; i < editor_dock_manager->get_hsplit_count(); i++) {
88008800
default_layout->set_value(docks_section, "dock_hsplit_" + itos(i + 1), hsplits[i]);

0 commit comments

Comments
 (0)