summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-09-24 14:32:40 +0200
committerGitHub <noreply@github.com>2018-09-24 14:32:40 +0200
commit394e5de6bb05527e8c0e46308d331cce7f2b59c8 (patch)
tree41c7e1a076a793bd53b549a9f3bfb9f76054affd /editor
parentaaef640b8c3e7c7c49aae11a1c8c9e606223fefd (diff)
parent43beed489a529f5cb3c153e4d082a2571748824c (diff)
Merge pull request #22396 from groud/allow_higher_treeview
Allow the tree view of FileSystem to take more space
Diffstat (limited to 'editor')
-rw-r--r--editor/filesystem_dock.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp
index 0a29cb9da5..7fc113ab57 100644
--- a/editor/filesystem_dock.cpp
+++ b/editor/filesystem_dock.cpp
@@ -2317,7 +2317,7 @@ FileSystemDock::FileSystemDock(EditorNode *p_editor) {
tree->set_drag_forwarding(this);
tree->set_allow_rmb_select(true);
tree->set_select_mode(Tree::SELECT_MULTI);
- tree->set_custom_minimum_size(Size2(0, 200 * EDSCALE));
+ tree->set_custom_minimum_size(Size2(0, 15 * EDSCALE));
split_box->add_child(tree);
tree->connect("item_edited", this, "_favorite_toggled");
@@ -2356,6 +2356,7 @@ FileSystemDock::FileSystemDock(EditorNode *p_editor) {
files->connect("gui_input", this, "_file_list_gui_input");
files->connect("multi_selected", this, "_file_multi_selected");
files->connect("rmb_clicked", this, "_file_list_rmb_pressed");
+ files->set_custom_minimum_size(Size2(0, 15 * EDSCALE));
files->set_allow_rmb_select(true);
file_list_vb->add_child(files);