Make the download certificate dialog wider on macOS.
authorCarl Hetherington <cth@carlh.net>
Fri, 12 Jul 2024 06:12:32 +0000 (08:12 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 13 Jul 2024 09:51:49 +0000 (11:51 +0200)
Otherwise the labels for the tabs are all very truncated.

src/wx/download_certificate_dialog.cc

index 8f4720252f09975d0854b3cd614c682699335335..350c7487d6df7a7b45c9d3c75070faa157bf511e 100644 (file)
@@ -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"));