diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-26 10:48:54 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-26 10:48:54 +0100 |
commit | 7e567c4777db1dc6d24c15e9c20d339448eae05a (patch) | |
tree | 4115cf4f29bba2c85f942b3b9edd4fe3f5955c88 /scene/gui/option_button.cpp | |
parent | e7bf883068996168e692d0383c190bbc2808bcf6 (diff) | |
parent | 5de496d3b08c23ef9cf8ae97055204815087bcfb (diff) | |
download | redot-engine-7e567c4777db1dc6d24c15e9c20d339448eae05a.tar.gz |
Merge pull request #88615 from Rindbee/add-h_separation-between-icons-in-CheckButton-and-CheckBox
Add a `h_separation` between icons in `CheckButton`/`CheckBox`
Diffstat (limited to 'scene/gui/option_button.cpp')
-rw-r--r-- | scene/gui/option_button.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scene/gui/option_button.cpp b/scene/gui/option_button.cpp index 6613f25b4c..0e10652f07 100644 --- a/scene/gui/option_button.cpp +++ b/scene/gui/option_button.cpp @@ -614,8 +614,6 @@ void OptionButton::set_disable_shortcuts(bool p_disabled) { OptionButton::OptionButton(const String &p_text) : Button(p_text) { - _set_h_separation_is_valid_when_no_text(true); - set_toggle_mode(true); set_process_shortcut_input(true); set_text_alignment(HORIZONTAL_ALIGNMENT_LEFT); |