summaryrefslogtreecommitdiffstats
path: root/doc/classes/Tree.xml
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2024-04-24 09:58:12 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2024-04-25 16:00:45 +0800
commit4f4e8589df0af54db4df2b8d68340117f6daabce (patch)
tree52064ecefdab7aeeb2299e115390980ea428e529 /doc/classes/Tree.xml
parente0f58a31946800635501fc4f6f8c4f74c5c5e321 (diff)
downloadredot-engine-4f4e8589df0af54db4df2b8d68340117f6daabce.tar.gz
Fix Tree minimum size calculation
- Take scroll bar space and column title buttons into account - Fix first column min size sometimes missing one level of indent - Fix cell min size ignoring text overrun behavior and item inner margin - Update min size when `hide_root` or `column_title_visible` changes Wrong description of `item_inner_margin_*` constants is also fixed
Diffstat (limited to 'doc/classes/Tree.xml')
-rw-r--r--doc/classes/Tree.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/Tree.xml b/doc/classes/Tree.xml
index d95492479c..43cd1a8aaa 100644
--- a/doc/classes/Tree.xml
+++ b/doc/classes/Tree.xml
@@ -546,16 +546,16 @@
The maximum allowed width of the icon in item's cells. This limit is applied on top of the default size of the icon, but before the value set with [method TreeItem.set_icon_max_width]. The height is adjusted according to the icon's ratio.
</theme_item>
<theme_item name="inner_item_margin_bottom" data_type="constant" type="int" default="0">
- The inner bottom margin of an item.
+ The inner bottom margin of a cell.
</theme_item>
<theme_item name="inner_item_margin_left" data_type="constant" type="int" default="0">
- The inner left margin of an item.
+ The inner left margin of a cell.
</theme_item>
<theme_item name="inner_item_margin_right" data_type="constant" type="int" default="0">
- The inner right margin of an item.
+ The inner right margin of a cell.
</theme_item>
<theme_item name="inner_item_margin_top" data_type="constant" type="int" default="0">
- The inner top margin of an item.
+ The inner top margin of a cell.
</theme_item>
<theme_item name="item_margin" data_type="constant" type="int" default="16">
The horizontal margin at the start of an item. This is used when folding is enabled for the item.