You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-21 14:57:09 +00:00
Merge pull request #91953 from AThousandShips/use_normal_sname
Use `CoreStringNames::normal` in more places
This commit is contained in:
@@ -465,10 +465,10 @@ void ConnectDialog::_notification(int p_what) {
|
||||
type_list->set_item_icon(i, get_editor_theme_icon(type_name));
|
||||
}
|
||||
|
||||
Ref<StyleBox> style = get_theme_stylebox("normal", "LineEdit")->duplicate();
|
||||
Ref<StyleBox> style = get_theme_stylebox(CoreStringName(normal), "LineEdit")->duplicate();
|
||||
if (style.is_valid()) {
|
||||
style->set_content_margin(SIDE_TOP, style->get_content_margin(SIDE_TOP) + 1.0);
|
||||
from_signal->add_theme_style_override("normal", style);
|
||||
from_signal->add_theme_style_override(CoreStringName(normal), style);
|
||||
}
|
||||
method_search->set_right_icon(get_editor_theme_icon("Search"));
|
||||
open_method_tree->set_icon(get_editor_theme_icon("Edit"));
|
||||
|
||||
Reference in New Issue
Block a user