Fix "multiple" button alignment on macOS.
authorCarl Hetherington <cth@carlh.net>
Sun, 17 Nov 2024 13:37:16 +0000 (14:37 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 17 Nov 2024 13:37:16 +0000 (14:37 +0100)
src/wx/content_widget.h

index 302436e55385f5f0e75eb4844f8b253c5791f168..f7edf6b3074167cbcb4dd04b280196d8c1202972 100644 (file)
@@ -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 ();
        }