Skip to content

Commit 281145d

Browse files
committed
Resize right panel
1 parent 7ed0b61 commit 281145d

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
@@ -8765,8 +8765,8 @@ EditorNode::EditorNode() {
87658765
editor_dock_manager->add_dock(history_dock);
87668766

87678767
// Add some offsets to left_r and main hsplits to make LEFT_R and RIGHT_L docks wider than minsize.
8768-
left_r_hsplit->set_split_offset(270 * EDSCALE);
8769-
main_hsplit->set_split_offset(-360 * EDSCALE);
8768+
left_r_hsplit->set_split_offset(280 * EDSCALE);
8769+
main_hsplit->set_split_offset(-280 * EDSCALE);
87708770

87718771
// Define corresponding default layout.
87728772

@@ -8777,7 +8777,7 @@ EditorNode::EditorNode() {
87778777
default_layout->set_value(docks_section, "dock_4", "FileSystem,History");
87788778
default_layout->set_value(docks_section, "dock_5", "Inspector,Signals,Groups");
87798779

8780-
int hsplits[] = { 0, 270, -270, 0 };
8780+
int hsplits[] = { 0, 280, -280, 0 };
87818781
DEV_ASSERT((int)std_size(hsplits) == editor_dock_manager->get_hsplit_count());
87828782
for (int i = 0; i < editor_dock_manager->get_hsplit_count(); i++) {
87838783
default_layout->set_value(docks_section, "dock_hsplit_" + itos(i + 1), hsplits[i]);

0 commit comments

Comments
 (0)