mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix accessing editor theme items throughout the UI
This also exposes `EditorInterface::get_editor_theme`.
This commit is contained in:
parent
6e11fcb92c
commit
8ecc0c4f47
55 changed files with 227 additions and 190 deletions
|
@ -3876,7 +3876,7 @@ ScriptEditor::ScriptEditor(WindowWrapper *p_wrapper) {
|
|||
filename = memnew(Label);
|
||||
filename->set_clip_text(true);
|
||||
filename->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
filename->add_theme_style_override("normal", EditorNode::get_singleton()->get_gui_base()->get_theme_stylebox(SNAME("normal"), SNAME("LineEdit")));
|
||||
filename->add_theme_style_override("normal", EditorNode::get_singleton()->get_editor_theme()->get_stylebox(SNAME("normal"), SNAME("LineEdit")));
|
||||
buttons_hbox->add_child(filename);
|
||||
|
||||
members_overview_alphabeta_sort_button = memnew(Button);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue