summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-08-20 13:41:14 -0300
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-08-29 11:25:00 -0300
commit9b09daa8c58b80082dc5964c39cd3861f8bb8669 (patch)
tree8d5ce5bbd0be2ee9644f64c7e3b81ff538f84784 /doc
parent208dd5b4a657e616af9f3da5e690a85247079847 (diff)
Add feature to Button to make its icon expand/shrink with the button's size
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Button.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/Button.xml b/doc/classes/Button.xml
index 6a8cdcd2a8..305be8b58d 100644
--- a/doc/classes/Button.xml
+++ b/doc/classes/Button.xml
@@ -17,6 +17,9 @@
<member name="clip_text" type="bool" setter="set_clip_text" getter="get_clip_text" default="false">
When this property is enabled, text that is too large to fit the button is clipped, when disabled the Button will always be wide enough to hold the text.
</member>
+ <member name="expand_icon" type="bool" setter="set_expand_icon" getter="is_expand_icon" default="false">
+ When enabled, the button's icon will expand/shrink to fit the button's size while keeping its aspect.
+ </member>
<member name="flat" type="bool" setter="set_flat" getter="is_flat" default="false">
Flat buttons don't display decoration.
</member>