mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Add missing SNAME macro optimization to all theme methods call
This commit is contained in:
@@ -947,7 +947,7 @@ EditorFeatureProfileManager::EditorFeatureProfileManager() {
|
||||
// Add some spacing above the help label.
|
||||
Ref<StyleBoxEmpty> sb = memnew(StyleBoxEmpty);
|
||||
sb->set_default_margin(SIDE_TOP, 20 * EDSCALE);
|
||||
no_profile_selected_help->add_theme_style_override("normal", sb);
|
||||
no_profile_selected_help->add_theme_style_override(SNAME("normal"), sb);
|
||||
no_profile_selected_help->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER);
|
||||
no_profile_selected_help->set_v_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
h_split->add_child(no_profile_selected_help);
|
||||
|
||||
Reference in New Issue
Block a user