Merge pull request #71025 from DarkMessiah/enable_column_clip_content
Enable column clip content in ConnectionDock and FilesystemDock
This commit is contained in:
commit
9801bdb74a
2 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -3127,6 +3127,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));
|
||||
|
|
Loading…
Reference in a new issue