summaryrefslogtreecommitdiff
path: root/scene/gui/spin_box.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-10-02 10:36:20 +0200
committerGitHub <noreply@github.com>2018-10-02 10:36:20 +0200
commit3c173ebca419f4aad9c56631a957178b6df0eeee (patch)
tree58b2021ac4f464feb289a1d734e276b16ce59a3b /scene/gui/spin_box.h
parentb4c1d40869066e50d50dfb1bdb4dd3f68b99cd91 (diff)
parentdafa4072fc8b86b7571bb5f041e20a53ed66cf4c (diff)
Merge pull request #21395 from mrcdk/spin_box_expose_align
Expose the align property of the SpinBox's LineEdit control
Diffstat (limited to 'scene/gui/spin_box.h')
-rw-r--r--scene/gui/spin_box.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/gui/spin_box.h b/scene/gui/spin_box.h
index 8863f44bef..f1ee26d9f3 100644
--- a/scene/gui/spin_box.h
+++ b/scene/gui/spin_box.h
@@ -76,6 +76,9 @@ public:
virtual Size2 get_minimum_size() const;
+ void set_align(LineEdit::Align p_align);
+ LineEdit::Align get_align() const;
+
void set_editable(bool p_editable);
bool is_editable() const;