projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2471914
)
Fix "multiple" button alignment on macOS.
author
Carl Hetherington
<cth@carlh.net>
Sun, 17 Nov 2024 13:37:16 +0000
(14:37 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 17 Nov 2024 13:37:16 +0000
(14:37 +0100)
src/wx/content_widget.h
patch
|
blob
|
history
diff --git
a/src/wx/content_widget.h
b/src/wx/content_widget.h
index 302436e55385f5f0e75eb4844f8b253c5791f168..f7edf6b3074167cbcb4dd04b280196d8c1202972 100644
(file)
--- 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 ();
}