summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-06-03 11:27:28 +0100
committerCarl Hetherington <cth@carlh.net>2016-06-03 15:17:13 +0100
commit0962f6d176f4de6b9b9c3431fb539c0d9a0c016f (patch)
treeada8161ba77a7d52182cedf165e5b9a627266e8b /src
parent32a7078958eadec48a4da02e5d5d5e0afb94c6eb (diff)
Fix cut-off content properties.
Diffstat (limited to 'src')
-rw-r--r--src/wx/content_properties_dialog.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/wx/content_properties_dialog.cc b/src/wx/content_properties_dialog.cc
index bd20d48e6..04abefc14 100644
--- a/src/wx/content_properties_dialog.cc
+++ b/src/wx/content_properties_dialog.cc
@@ -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