summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-11-17 14:37:16 +0100
committerCarl Hetherington <cth@carlh.net>2024-11-17 14:37:16 +0100
commit4a57f54fe4f0039439c54a86d175859764c70578 (patch)
tree3d1c386fa78024b4591cd11c17244f4126620215
parent247191469093427b05229bd0051c25395a30f4b5 (diff)
Fix "multiple" button alignment on macOS.
-rw-r--r--src/wx/content_widget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/content_widget.h b/src/wx/content_widget.h
index 302436e55..f7edf6b30 100644
--- a/src/wx/content_widget.h
+++ b/src/wx/content_widget.h
@@ -197,7 +197,7 @@ private:
_wrapped->Hide ();
_sizer->Detach (_wrapped);
_button->Show ();
- _sizer->Add (_button, _position, _span);
+ _sizer->Add(_button, _position, _span, wxALIGN_CENTER_VERTICAL);
_sizer->Layout ();
}