diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-08 20:14:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-12-08 20:14:37 +0100 |
| commit | 942f2c6ae6be33fb17ec46931bbe071a9d2e6f17 (patch) | |
| tree | 607bc17b3a6dd6ac7b9bc57871ffe961e8491a56 /src/wx/standard_controls.cc | |
| parent | 83a78961d8fbd336361f573c6d9efde720f9c0c0 (diff) | |
Tidy up alignment of play controls on macOS.
Diffstat (limited to 'src/wx/standard_controls.cc')
| -rw-r--r-- | src/wx/standard_controls.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/standard_controls.cc b/src/wx/standard_controls.cc index 5df89f8fe..e73e2f6f6 100644 --- a/src/wx/standard_controls.cc +++ b/src/wx/standard_controls.cc @@ -29,7 +29,7 @@ StandardControls::StandardControls (wxWindow* parent, shared_ptr<FilmViewer> vie : Controls (parent, viewer, editor_controls) , _play_button (new wxToggleButton(this, wxID_ANY, _("Play"))) { - _button_sizer->Add (_play_button, 0, wxEXPAND); + _button_sizer->Add (_play_button, 0, wxALL | wxALIGN_CENTER_VERTICAL, 2); _play_button->Bind (wxEVT_TOGGLEBUTTON, boost::bind(&StandardControls::play_clicked, this)); } |
