mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Fix tree to update size with scrollbars disabled
When scrollbars are disabled, tree size is dependant on item sizes, so this adds missing checks for when to resize. The side effect of the bug was that scrollbars could incorrectly appear when items change at runtime.
This commit is contained in:
parent
3defc856b0
commit
4c9bd858c7
2 changed files with 13 additions and 0 deletions
|
|
@ -570,6 +570,7 @@ private:
|
|||
void item_changed(int p_column, TreeItem *p_item);
|
||||
void item_selected(int p_column, TreeItem *p_item);
|
||||
void item_deselected(int p_column, TreeItem *p_item);
|
||||
void update_min_size_for_item_change();
|
||||
|
||||
void propagate_set_columns(TreeItem *p_item);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue