diff options
author | kobewi <kobewi4e@gmail.com> | 2021-07-08 15:29:15 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2021-07-13 15:42:09 +0200 |
commit | f4b361dd1536edaa902d59759addbf46e25e3505 (patch) | |
tree | 4991068a17c1367cd60c4fb263970ed35230863b /scene/gui | |
parent | b44b277f6f2f22124c47d63551591056791474c0 (diff) |
Add header theme type variations to labels
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/box_container.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/box_container.cpp b/scene/gui/box_container.cpp index 7407ad5b8f..40a49dbb58 100644 --- a/scene/gui/box_container.cpp +++ b/scene/gui/box_container.cpp @@ -349,6 +349,7 @@ void BoxContainer::_bind_methods() { MarginContainer *VBoxContainer::add_margin_child(const String &p_label, Control *p_control, bool p_expand) { Label *l = memnew(Label); + l->set_theme_type_variation("HeaderSmall"); l->set_text(p_label); add_child(l); MarginContainer *mc = memnew(MarginContainer); |