diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/controls.cc | 6 | ||||
| -rw-r--r-- | src/wx/standard_controls.cc | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/controls.cc b/src/wx/controls.cc index 86329efb3..1a03ba568 100644 --- a/src/wx/controls.cc +++ b/src/wx/controls.cc @@ -97,10 +97,10 @@ Controls::Controls (wxWindow* parent, shared_ptr<FilmViewer> viewer, bool editor time_sizer->Add (_frame_number, 0, wxEXPAND); time_sizer->Add (_timecode, 0, wxEXPAND); - h_sizer->Add (_rewind_button, 0, wxALL, 2); + h_sizer->Add (_rewind_button, 0, wxALL | wxALIGN_CENTER_VERTICAL, 2); h_sizer->Add (time_sizer, 0, wxEXPAND); - h_sizer->Add (_back_button, 0, wxALL, 2); - h_sizer->Add (_forward_button, 0, wxALL, 2); + h_sizer->Add (_back_button, 0, wxALL | wxALIGN_CENTER_VERTICAL, 2); + h_sizer->Add (_forward_button, 0, wxALL | wxALIGN_CENTER_VERTICAL, 2); _button_sizer = new wxBoxSizer (wxHORIZONTAL); h_sizer->Add (_button_sizer, 0, wxEXPAND); 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)); } |
