summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-01-08 15:02:24 +0000
committerCarl Hetherington <cth@carlh.net>2016-01-08 15:02:24 +0000
commit88be57c9194bb51f45b9d85ea07d71868d2284c0 (patch)
treebf0b98876d78d2f6082b4388ae1f4b3ac2e2f4f2
parent1d40c94c23881c99f7c39cfd7ca017989c7d2c6a (diff)
Try to make subtitle view resizeable on all platforms (#781).
-rw-r--r--ChangeLog2
-rw-r--r--src/wx/subtitle_view.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3a68a1722..2b4b09217 100644
--- 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>
diff --git a/src/wx/subtitle_view.cc b/src/wx/subtitle_view.cc
index 632b209ed..f54b19680 100644
--- a/src/wx/subtitle_view.cc
+++ b/src/wx/subtitle_view.cc
@@ -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);