diff options
| author | Juan Linietsky <reduzio@gmail.com> | 2016-09-06 20:34:24 -0300 |
|---|---|---|
| committer | Juan Linietsky <reduzio@gmail.com> | 2016-09-06 20:34:24 -0300 |
| commit | 405f6af79c32c575768f53661127cfd6aa4230f4 (patch) | |
| tree | b6f145742a46aed20a01a1a76972813038d7362c /scene/gui/line_edit.h | |
| parent | 181fdce1e9c0b31f3a4ff14e25b2e0fec7108da0 (diff) | |
| download | redot-engine-405f6af79c32c575768f53661127cfd6aa4230f4.tar.gz | |
-Added diectly editable expressions on node to VSEditor, closes #6392
-Added ability for LineEdit to expand to fit text
Diffstat (limited to 'scene/gui/line_edit.h')
| -rw-r--r-- | scene/gui/line_edit.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scene/gui/line_edit.h b/scene/gui/line_edit.h index 112e4ad55e..47d5706bbe 100644 --- a/scene/gui/line_edit.h +++ b/scene/gui/line_edit.h @@ -90,6 +90,11 @@ private: } selection; Timer *caret_blink_timer; + + + void _text_changed(); + bool expand_to_text_length; + bool caret_blink_enabled; bool draw_caret; bool window_has_focus; @@ -169,6 +174,9 @@ public: virtual Size2 get_minimum_size() const; + void set_expand_to_text_length(bool p_len); + bool get_expand_to_text_length() const; + virtual bool is_text_field() const; LineEdit(); ~LineEdit(); |
