Godot Engine – Multi-platform 2D and 3D game engine
Make script_name_button use flat theme variation
Jan Ole Koop12f771f9ac9a
diff --git a/editor/script/script_editor_plugin.cpp b/editor/script/script_editor_plugin.cppindex e767b4210d2..dd67cb89ff6 100644--- a/editor/script/script_editor_plugin.cpp+++ b/editor/script/script_editor_plugin.cpp@@ -4176,6 +4176,7 @@ DocumentEditorContainer::DocumentEditorContainer(bool p_is_main_editor, const Stscript_name_button = memnew(Button);script_name_button->set_flat(true);+ script_name_button->set_theme_type_variation(SceneStringName(FlatButton));script_name_button->set_text_overrun_behavior(TextServer::OVERRUN_TRIM_ELLIPSIS);script_name_button->set_h_size_flags(SIZE_EXPAND_FILL);script_name_button->set_tooltip_text(TTRC("Navigate to document list."));