diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-06-19 23:09:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-19 23:09:49 +0200 |
commit | 6d8c14f849376905e1577f9fc3f9512bcffb1e3c (patch) | |
tree | 1c0de1bac35046915575687e8d8993643d372474 /editor/plugins/theme_editor_plugin.cpp | |
parent | cb9d02a8d1b5bb71abcec6be0e75002c5ea656c4 (diff) | |
parent | 31b7f02a29cdf4f1c30cfc37962f43f67380b9ad (diff) |
Merge pull request #39690 from Calinou/remove-toolbutton
Remove ToolButton in favor of Button
Diffstat (limited to 'editor/plugins/theme_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/theme_editor_plugin.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/plugins/theme_editor_plugin.cpp b/editor/plugins/theme_editor_plugin.cpp index eb028659fd..43ace737c0 100644 --- a/editor/plugins/theme_editor_plugin.cpp +++ b/editor/plugins/theme_editor_plugin.cpp @@ -672,8 +672,9 @@ ThemeEditor::ThemeEditor() { bt->set_text(TTR("Disabled Button")); bt->set_disabled(true); first_vb->add_child(bt); - ToolButton *tb = memnew(ToolButton); - tb->set_text("ToolButton"); + Button *tb = memnew(Button); + tb->set_flat(true); + tb->set_text("Button"); first_vb->add_child(tb); CheckButton *cb = memnew(CheckButton); |