diff options
Diffstat (limited to 'editor/plugins/theme_editor_preview.cpp')
| -rw-r--r-- | editor/plugins/theme_editor_preview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/theme_editor_preview.cpp b/editor/plugins/theme_editor_preview.cpp index 14a25e4e29..c157277a35 100644 --- a/editor/plugins/theme_editor_preview.cpp +++ b/editor/plugins/theme_editor_preview.cpp @@ -240,7 +240,7 @@ ThemeEditorPreview::ThemeEditorPreview() { picker_button = memnew(Button); preview_toolbar->add_child(picker_button); - picker_button->set_flat(true); + picker_button->set_theme_type_variation("FlatButton"); picker_button->set_toggle_mode(true); picker_button->set_tooltip_text(TTR("Toggle the control picker, allowing to visually select control types for edit.")); picker_button->connect("pressed", callable_mp(this, &ThemeEditorPreview::_picker_button_cbk)); |
