From e192eb05db1e57ba2bcdd052bf3218655f5b2bc0 Mon Sep 17 00:00:00 2001 From: jitspoe Date: Thu, 24 Oct 2019 23:29:10 -0400 Subject: Add alignment options to icons on buttons. They can now be centered and right-aligned. Fixes #11380. --- doc/classes/Button.xml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/Button.xml b/doc/classes/Button.xml index c9078a4de5..239e0bb2d9 100644 --- a/doc/classes/Button.xml +++ b/doc/classes/Button.xml @@ -85,6 +85,9 @@ Button's icon, if text is present the icon will be placed before the text. + + Specifies if the icon should be aligned to the left, right, or center of a button. Uses the same [enum TextAlign] constants as the text alignment. If centered, text will draw on top of the icon. + Language code used for line-breaking and text shaping algorithms, if left empty current locale is used instead. -- cgit v1.2.3