diff options
author | Stanislav Labzyuk <stanislav.labzyuk@gmail.com> | 2023-01-07 14:05:10 +0100 |
---|---|---|
committer | Stanislav Labzyuk <stanislav.labzyuk@gmail.com> | 2023-01-07 14:07:33 +0100 |
commit | 86d61a99fba327d28f725aae72a9ed6c6be0d08c (patch) | |
tree | 954d6a2ca98a657037ccee22a5c93a9be655d7e4 | |
parent | d642274f75fb8ca6d3b9d4c314269e6f559051c7 (diff) |
Enable column clip content in ConnectionDock and FilesystemDock
-rw-r--r-- | editor/connections_dialog.cpp | 1 | ||||
-rw-r--r-- | editor/filesystem_dock.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
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)); |