Remove code duplication in Button

This commit is contained in:
kobewi 2024-06-20 14:59:09 +02:00
parent 3c9d03b875
commit e3ce74dc7e
2 changed files with 25 additions and 50 deletions

View file

@ -105,6 +105,7 @@ private:
void _shape(Ref<TextParagraph> p_paragraph = Ref<TextParagraph>(), String p_text = "") const;
void _texture_changed();
void _update_style_margins(const Ref<StyleBox> &p_stylebox);
protected:
virtual void _update_theme_item_cache() override;