Updated ru_RU translation from Igor Voytovich.
[dcpomatic.git] / src / wx / content_properties_dialog.cc
index bd20d48e6e99c4326d2ff62e5c5c4d6e28b70aeb..04abefc14d07656c94252eccb1c56fc02893ea3d 100644 (file)
@@ -50,13 +50,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