projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8262bd6
)
KDM dialog sizing hack.
author
Carl Hetherington
<cth@carlh.net>
Wed, 27 Jan 2016 16:08:30 +0000
(16:08 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 27 Jan 2016 16:08:30 +0000
(16:08 +0000)
src/wx/kdm_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/kdm_dialog.cc
b/src/wx/kdm_dialog.cc
index 0ee502d49c46b889080f309e370525062e145734..5874dea54f65a97312b30d5d647a2b430d04f423 100644
(file)
--- a/
src/wx/kdm_dialog.cc
+++ b/
src/wx/kdm_dialog.cc
@@
-54,6
+54,10
@@
KDMDialog::KDMDialog (wxWindow* parent, boost::shared_ptr<const Film> film)
h->SetFont (subheading_font);
vertical->Add (h, 0, wxALIGN_CENTER_VERTICAL);
_screens = new ScreensPanel (this);
+ /* Hack to stop KDM dialogs that are taller than my laptop screen; this
+ really isn't the right way to fix it...
+ */
+ _screens->SetMaxSize (wxSize (-1, 280));
vertical->Add (_screens, 1, wxEXPAND);
/* Sub-heading: Timing */