From 86d61a99fba327d28f725aae72a9ed6c6be0d08c Mon Sep 17 00:00:00 2001 From: Stanislav Labzyuk Date: Sat, 7 Jan 2023 14:05:10 +0100 Subject: Enable column clip content in ConnectionDock and FilesystemDock --- editor/connections_dialog.cpp | 1 + editor/filesystem_dock.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/editor/connections_dialog.cpp b/editor/connections_dialog.cpp index 78987ee6ef..9b2e6fbf81 100644 --- a/editor/connections_dialog.cpp +++ b/editor/connections_dialog.cpp @@ -1196,6 +1196,7 @@ ConnectionsDock::ConnectionsDock() { tree->set_columns(1); tree->set_select_mode(Tree::SELECT_ROW); tree->set_hide_root(true); + tree->set_column_clip_content(0, true); vbc->add_child(tree); tree->set_v_size_flags(Control::SIZE_EXPAND_FILL); tree->set_allow_rmb_select(true); diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index e66be6ce49..5537e55f20 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -3120,6 +3120,7 @@ FileSystemDock::FileSystemDock() { tree->set_allow_rmb_select(true); tree->set_select_mode(Tree::SELECT_MULTI); tree->set_custom_minimum_size(Size2(0, 15 * EDSCALE)); + tree->set_column_clip_content(0, true); split_box->add_child(tree); tree->connect("item_activated", callable_mp(this, &FileSystemDock::_tree_activate_file)); -- cgit v1.2.3