diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-06-25 08:59:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-25 08:59:31 +0200 |
commit | b966ee49b252c4faa2d52ef5af3aecf0e888b558 (patch) | |
tree | fa369b3cd23e53e3ebc26c51380eab81414fc33e /scene/gui/line_edit.h | |
parent | dae112a7176e41b4414ea8cd74c36eb9c2e55644 (diff) | |
parent | 0f2b25f83e09717398721661dbe3abac71ca75a5 (diff) |
Merge pull request #29979 from flomar/master
Line edit placeholders now react properly to translation changes.
Diffstat (limited to 'scene/gui/line_edit.h')
-rw-r--r-- | scene/gui/line_edit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/gui/line_edit.h b/scene/gui/line_edit.h index 3b29780dc0..3002f6f637 100644 --- a/scene/gui/line_edit.h +++ b/scene/gui/line_edit.h @@ -72,6 +72,7 @@ private: String undo_text; String text; String placeholder; + String placeholder_translated; String secret_character; float placeholder_alpha; String ime_text; @@ -126,6 +127,8 @@ private: void _emit_text_change(); bool expand_to_text_length; + void update_placeholder_width(); + bool caret_blink_enabled; bool draw_caret; bool window_has_focus; |