Add header theme type variations to labels
This commit is contained in:
parent
b44b277f6f
commit
f4b361dd15
18 changed files with 94 additions and 14 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue