Fix the alignment of the current position in the playback controls.
[dcpomatic.git] / src / wx / controls.cc
index a6f70c039528caa9c1197b6fe5e01c0804145034..c02581cc0ec3ad3dff7833481ea5bc1cf89394ba 100644 (file)
@@ -105,7 +105,7 @@ Controls::Controls (wxWindow* parent, shared_ptr<FilmViewer> viewer, bool editor
        time_sizer->Add (_timecode, 0, wxEXPAND);
 
        h_sizer->Add (_rewind_button, 0, wxALL | wxALIGN_CENTER_VERTICAL, 2);
-       h_sizer->Add (time_sizer, 0, wxEXPAND);
+       h_sizer->Add (time_sizer, 0, wxALL | wxALIGN_CENTER_VERTICAL, 2);
        h_sizer->Add (_back_button, 0, wxALL | wxALIGN_CENTER_VERTICAL, 2);
        h_sizer->Add (_forward_button, 0, wxALL | wxALIGN_CENTER_VERTICAL, 2);