summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-05 01:32:37 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-05 01:32:37 +0100
commit558f81527d1305b6b5c47de947837fb6799d3345 (patch)
treedfe44c6c614b33bac6a96a78e757c764877d07d4
parent3a7b6acdb993864f319a6ceb3bc4c3fb7d4aaefd (diff)
Fiddle with ccap window default size.v2.13.41
-rw-r--r--src/wx/closed_captions_dialog.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/closed_captions_dialog.cc b/src/wx/closed_captions_dialog.cc
index c07961cc8..3f444f9a4 100644
--- a/src/wx/closed_captions_dialog.cc
+++ b/src/wx/closed_captions_dialog.cc
@@ -33,7 +33,8 @@ using boost::weak_ptr;
using boost::optional;
ClosedCaptionsDialog::ClosedCaptionsDialog (wxWindow* parent)
- : wxDialog (parent, wxID_ANY, _("Closed captions"), wxDefaultPosition, wxDefaultSize,
+ /* XXX: empirical and probably unhelpful default size here; needs to be related to font metrics */
+ : wxDialog (parent, wxID_ANY, _("Closed captions"), wxDefaultPosition, wxSize(640, (640 / 10) + 64),
#ifdef DCPOMATIC_OSX
/* I can't get wxFRAME_FLOAT_ON_PARENT to work on OS X, and although wxSTAY_ON_TOP keeps
the window above all others (and not just our own) it's better than nothing for now.