You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Merge pull request #50420 from KoBeWi/counter_headers
Add header theme type variations to labels
This commit is contained in:
@@ -7137,6 +7137,7 @@ Node3DEditor::Node3DEditor(EditorNode *p_editor) {
|
||||
sun_vb->hide();
|
||||
|
||||
sun_title = memnew(Label);
|
||||
sun_title->set_theme_type_variation("HeaderSmall");
|
||||
sun_vb->add_child(sun_title);
|
||||
sun_title->set_text(TTR("Preview Sun"));
|
||||
sun_title->set_align(Label::ALIGN_CENTER);
|
||||
@@ -7228,6 +7229,8 @@ Node3DEditor::Node3DEditor(EditorNode *p_editor) {
|
||||
environ_vb->hide();
|
||||
|
||||
environ_title = memnew(Label);
|
||||
environ_title->set_theme_type_variation("HeaderSmall");
|
||||
|
||||
environ_vb->add_child(environ_title);
|
||||
environ_title->set_text(TTR("Preview Environment"));
|
||||
environ_title->set_align(Label::ALIGN_CENTER);
|
||||
|
||||
Reference in New Issue
Block a user