mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Add header theme type variations to labels
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user