summaryrefslogtreecommitdiffstats
path: root/scene/gui/label.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-09 16:43:44 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-09 16:43:44 -0300
commit1f8451001d69df708ef788b8730cf13a11a75065 (patch)
treeb40bbcd7b61781e17bde271ad2a9ec09cba2fd2c /scene/gui/label.h
parente9bb65db815b593037a573c1c7a78e95b7550cb0 (diff)
downloadredot-engine-1f8451001d69df708ef788b8730cf13a11a75065.tar.gz
-Translation text will change automatically for in-game buttons, labels, poups when translation is changed.
-Added a NOTIFICATION_TRANSLATION_CHANGED for controls that need custom code -Sorry, editor will not update automatically because it uses a different translatio method.
Diffstat (limited to 'scene/gui/label.h')
-rw-r--r--scene/gui/label.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/label.h b/scene/gui/label.h
index 8a166bbe52..80e4c970f6 100644
--- a/scene/gui/label.h
+++ b/scene/gui/label.h
@@ -58,6 +58,7 @@ private:
Align align;
VAlign valign;
String text;
+ String xl_text;
bool autowrap;
bool clip;
Size2 minsize;