diff options
| author | Daniel J. Ramirez | 2017-12-23 14:54:45 -0600 |
|---|---|---|
| committer | Daniel J. Ramirez | 2017-12-23 15:15:48 -0600 |
| commit | 07fd5456c8bffbdfec01c26c698dbf207d6ba0a7 (patch) | |
| tree | e1ada4d5926548edefc98e4917760f55f92359a1 /scene/gui/button.h | |
| parent | 9969c5c6a1cc103fb7b23c279b7fde0d92a5599a (diff) | |
| download | godot-07fd5456c8bffbdfec01c26c698dbf207d6ba0a7.tar.gz godot-07fd5456c8bffbdfec01c26c698dbf207d6ba0a7.tar.zst godot-07fd5456c8bffbdfec01c26c698dbf207d6ba0a7.zip | |
Diffstat (limited to 'scene/gui/button.h')
| -rw-r--r-- | scene/gui/button.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/gui/button.h b/scene/gui/button.h index 35488582d..5c5a73bae 100644 --- a/scene/gui/button.h +++ b/scene/gui/button.h @@ -56,7 +56,6 @@ private: float _internal_margin[4]; protected: - virtual Size2 get_minimum_size() const; void _set_internal_margin(Margin p_margin, float p_value); void _notification(int p_what); static void _bind_methods(); @@ -64,6 +63,8 @@ protected: public: // + virtual Size2 get_minimum_size() const; + void set_text(const String &p_text); String get_text() const; |
