Try to make subtitle view resizeable on all platforms (#781).
authorCarl Hetherington <cth@carlh.net>
Fri, 8 Jan 2016 15:02:24 +0000 (15:02 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 8 Jan 2016 15:02:24 +0000 (15:02 +0000)
ChangeLog
src/wx/subtitle_view.cc

index 3a68a17224b8e1806e8a40e7ad98cd9b4dcfbf9b..2b4b09217c31c67bfca0e34ca659b18eabd800fd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2016-01-08  c.hetherington  <cth@carlh.net>
 
+       * Attempt to make subtitles view resizeable on all platforms (#781).
+
        * Don't expand all cinemas on opening KDM dialogs (#779).
 
 2016-01-07  Carl Hetherington  <cth@carlh.net>
index 632b209edf2feeebf22e9c11d4afd9f1e6ff5a6a..f54b1968060f1f78b99cb6b7963abdfbac0e65c5 100644 (file)
@@ -29,7 +29,7 @@ using boost::shared_ptr;
 using boost::dynamic_pointer_cast;
 
 SubtitleView::SubtitleView (wxWindow* parent, shared_ptr<Film> film, shared_ptr<SubtitleDecoder> decoder, DCPTime position)
-       : wxDialog (parent, wxID_ANY, _("Subtitles"))
+       : wxDialog (parent, wxID_ANY, _("Subtitles"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER)
 {
        _list = new wxListCtrl (this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT | wxLC_SINGLE_SEL);