Modify the downmix mapping so that we include Ls, Rs and Lfe (#1281).
[dcpomatic.git] / src / wx / content_properties_dialog.cc
index bd20d48e6e99c4326d2ff62e5c5c4d6e28b70aeb..2f4e1a48bcadf6f0bbf242e717b30a6313d9b6c2 100644 (file)
@@ -20,7 +20,6 @@
 
 #include "content_properties_dialog.h"
 #include "wx_util.h"
-#include "lib/raw_convert.h"
 #include "lib/content.h"
 #include "lib/video_content.h"
 #include "lib/audio_content.h"
@@ -50,13 +49,11 @@ ContentPropertiesDialog::ContentPropertiesDialog (wxWindow* parent, shared_ptr<C
        maybe_add_group (grouped, UserProperty::AUDIO);
        maybe_add_group (grouped, UserProperty::LENGTH);
 
-       layout ();
+       /* Nasty hack to stop the bottom property being cut off on Windows / OS X */
+       add (wxString (), false);
+       add (wxString (), false);
 
-       /* SetSizeHints() seems to get it slightly wrong (see #884),
-          so hack in a bit more height.
-       */
-       wxSize const s = GetMinSize ();
-       SetMinSize (wxSize (s.GetWidth(), s.GetHeight() + 32));
+       layout ();
 }
 
 void