Use CoreStringNames::normal in more places
This commit is contained in:
parent
505da68b26
commit
cade5b88d9
19 changed files with 69 additions and 69 deletions
|
|
@ -718,7 +718,7 @@ void ImportDock::_notification(int p_what) {
|
|||
switch (p_what) {
|
||||
case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: {
|
||||
if (EditorThemeManager::is_generated_theme_outdated()) {
|
||||
imported->add_theme_style_override("normal", get_theme_stylebox(CoreStringName(normal), SNAME("LineEdit")));
|
||||
imported->add_theme_style_override(CoreStringName(normal), get_theme_stylebox(CoreStringName(normal), SNAME("LineEdit")));
|
||||
}
|
||||
} break;
|
||||
|
||||
|
|
@ -775,7 +775,7 @@ ImportDock::ImportDock() {
|
|||
content->hide();
|
||||
|
||||
imported = memnew(Label);
|
||||
imported->add_theme_style_override("normal", EditorNode::get_singleton()->get_editor_theme()->get_stylebox(CoreStringName(normal), SNAME("LineEdit")));
|
||||
imported->add_theme_style_override(CoreStringName(normal), EditorNode::get_singleton()->get_editor_theme()->get_stylebox(CoreStringName(normal), SNAME("LineEdit")));
|
||||
imported->set_clip_text(true);
|
||||
content->add_child(imported);
|
||||
HBoxContainer *hb = memnew(HBoxContainer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue