diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-06-01 23:58:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-06-01 23:58:32 +0100 |
| commit | 2da8a38e3cc9bebfe324a682d8e4da2e8856676a (patch) | |
| tree | c3581a85196d9f48583ea064c50037bced1b5d7d | |
| parent | 6a18a737ef8dfbfbe909afe8266f104a2125b5fb (diff) | |
Fix height of content properties dialogue (#884).
| -rw-r--r-- | src/wx/content_properties_dialog.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wx/content_properties_dialog.cc b/src/wx/content_properties_dialog.cc index 5df9ea5cf..8bb0a6b1f 100644 --- a/src/wx/content_properties_dialog.cc +++ b/src/wx/content_properties_dialog.cc @@ -51,6 +51,12 @@ ContentPropertiesDialog::ContentPropertiesDialog (wxWindow* parent, shared_ptr<C maybe_add_group (grouped, wx_to_std (_("Length"))); layout (); + + /* 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)); } void |
