diff options
author | FireForge <67974470+fire-forge@users.noreply.github.com> | 2022-06-15 01:44:16 -0500 |
---|---|---|
committer | FireForge <67974470+fire-forge@users.noreply.github.com> | 2022-06-15 01:44:16 -0500 |
commit | f72c1ac2a33d710bcde946489470df1ab841f014 (patch) | |
tree | e543e29eac6305a337a9c3b31a7dce7c60cf7d1e | |
parent | ccd9378aac6b9faecce6e5cc2d97e5e5ce971f4b (diff) |
Use new inspector button style in InputEvent editor
-rw-r--r-- | editor/plugins/input_event_editor_plugin.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/plugins/input_event_editor_plugin.cpp b/editor/plugins/input_event_editor_plugin.cpp index fb0e260388..2acd0fca6e 100644 --- a/editor/plugins/input_event_editor_plugin.cpp +++ b/editor/plugins/input_event_editor_plugin.cpp @@ -84,8 +84,7 @@ InputEventConfigContainer::InputEventConfigContainer() { input_event_text->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER); add_child(input_event_text); - open_config_button = memnew(Button); - open_config_button->set_text(TTR("Configure")); + open_config_button = EditorInspector::create_inspector_action_button(TTR("Configure")); open_config_button->connect("pressed", callable_mp(this, &InputEventConfigContainer::_configure_pressed)); add_child(open_config_button); |