summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-07-12 08:12:32 +0200
committerCarl Hetherington <cth@carlh.net>2024-07-13 11:51:49 +0200
commit353623956a5091838a0b0b6ee929692a37bffb04 (patch)
treedd116111fb71d6c8c2e96f42cc124f9be4754d79
parentb414cf496203470da9b32b1dd65f3a8f48c9124b (diff)
Make the download certificate dialog wider on macOS.
Otherwise the labels for the tabs are all very truncated.
-rw-r--r--src/wx/download_certificate_dialog.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wx/download_certificate_dialog.cc b/src/wx/download_certificate_dialog.cc
index 8f4720252..350c7487d 100644
--- a/src/wx/download_certificate_dialog.cc
+++ b/src/wx/download_certificate_dialog.cc
@@ -40,6 +40,9 @@ DownloadCertificateDialog::DownloadCertificateDialog (wxWindow* parent)
auto sizer = new wxBoxSizer (wxVERTICAL);
_notebook = new wxNotebook (this, wxID_ANY);
+#ifdef DCPOMATIC_OSX
+ _notebook->SetMinSize(wxSize(640, -1));
+#endif
sizer->Add (_notebook, 1, wxEXPAND | wxALL, DCPOMATIC_DIALOG_BORDER);
_download = new Button (this, _("Download"));