diff options
Diffstat (limited to 'editor/editor_log.cpp')
| -rw-r--r-- | editor/editor_log.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/editor_log.cpp b/editor/editor_log.cpp index 3cd5bbfad6..41f91d8d32 100644 --- a/editor/editor_log.cpp +++ b/editor/editor_log.cpp @@ -426,7 +426,7 @@ EditorLog::EditorLog() { // Clear. clear_button = memnew(Button); - clear_button->set_flat(true); + clear_button->set_theme_type_variation("FlatButton"); clear_button->set_focus_mode(FOCUS_NONE); clear_button->set_shortcut(ED_SHORTCUT("editor/clear_output", TTR("Clear Output"), KeyModifierMask::CMD_OR_CTRL | KeyModifierMask::SHIFT | Key::K)); clear_button->set_shortcut_context(this); @@ -435,7 +435,7 @@ EditorLog::EditorLog() { // Copy. copy_button = memnew(Button); - copy_button->set_flat(true); + copy_button->set_theme_type_variation("FlatButton"); copy_button->set_focus_mode(FOCUS_NONE); copy_button->set_shortcut(ED_SHORTCUT("editor/copy_output", TTR("Copy Selection"), KeyModifierMask::CMD_OR_CTRL | Key::C)); copy_button->set_shortcut_context(this); @@ -449,7 +449,7 @@ EditorLog::EditorLog() { // Collapse. collapse_button = memnew(Button); - collapse_button->set_flat(true); + collapse_button->set_theme_type_variation("FlatButton"); collapse_button->set_focus_mode(FOCUS_NONE); collapse_button->set_tooltip_text(TTR("Collapse duplicate messages into one log entry. Shows number of occurrences.")); collapse_button->set_toggle_mode(true); @@ -459,7 +459,7 @@ EditorLog::EditorLog() { // Show Search. show_search_button = memnew(Button); - show_search_button->set_flat(true); + show_search_button->set_theme_type_variation("FlatButton"); show_search_button->set_focus_mode(FOCUS_NONE); show_search_button->set_toggle_mode(true); show_search_button->set_pressed(true); |
