X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fsubtitle_view.cc;h=33ef7cfda14817326ca1de8a3f75011df7aa4026;hb=e60bb3e51bd1508b149e6b8f6608f09b5196ae26;hp=dc41db2fa51e82fd49ac5ba9c2165f7149174301;hpb=8c7a308c03e4b4196b4e2379a26d432b100ae2b1;p=dcpomatic.git diff --git a/src/wx/subtitle_view.cc b/src/wx/subtitle_view.cc index dc41db2fa..33ef7cfda 100644 --- a/src/wx/subtitle_view.cc +++ b/src/wx/subtitle_view.cc @@ -47,7 +47,7 @@ SubtitleView::SubtitleView (wxWindow* parent, shared_ptr film, shared_ptr< ip.SetText (_("End")); ip.SetWidth (100); _list->InsertColumn (1, ip); - } + } { wxListItem ip; @@ -58,7 +58,7 @@ SubtitleView::SubtitleView (wxWindow* parent, shared_ptr film, shared_ptr< } wxBoxSizer* sizer = new wxBoxSizer (wxVERTICAL); - sizer->Add (_list, 1, wxEXPAND); + sizer->Add (_list, 1, wxEXPAND | wxALL, DCPOMATIC_SIZER_X_GAP); wxSizer* buttons = CreateSeparatedButtonSizer (wxOK); if (buttons) {