X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Fabout_dialog.cc;h=45f2f6c3796fa0218c11ecc03e6c1ba7b299e860;hb=1ba7bca7f2950faa441ec83920d35b65016f3fa6;hp=0c56cf1be0ea56c865922f93c590e006f6c4346d;hpb=50cb31af16240b248700dab1484d7f07656c66df;p=dcpomatic.git diff --git a/src/wx/about_dialog.cc b/src/wx/about_dialog.cc index 0c56cf1be..45f2f6c37 100644 --- a/src/wx/about_dialog.cc +++ b/src/wx/about_dialog.cc @@ -32,15 +32,18 @@ AboutDialog::AboutDialog (wxWindow* parent) wxBoxSizer* sizer = new wxBoxSizer (wxVERTICAL); wxFont title_font (*wxNORMAL_FONT); - title_font.SetPointSize (title_font.GetPointSize() + 4); + title_font.SetPointSize (title_font.GetPointSize() + 12); title_font.SetWeight (wxFONTWEIGHT_BOLD); + wxFont subtitle_font (*wxNORMAL_FONT); + subtitle_font.SetPointSize (subtitle_font.GetPointSize() + 2); + wxFont version_font (*wxNORMAL_FONT); version_font.SetWeight (wxFONTWEIGHT_BOLD); wxStaticText* t = new wxStaticText (this, wxID_ANY, _("DCP-o-matic")); t->SetFont (title_font); - sizer->Add (t, wxSizerFlags().Centre().Border()); + sizer->Add (t, wxSizerFlags().Centre().Border(wxALL, 16)); wxString s; if (strcmp (dcpomatic_git_commit, "release") == 0) { @@ -49,7 +52,7 @@ AboutDialog::AboutDialog (wxWindow* parent) t = new wxStaticText (this, wxID_ANY, std_to_wx (String::compose ("Version %1 git %2", dcpomatic_version, dcpomatic_git_commit))); } t->SetFont (version_font); - sizer->Add (t, wxSizerFlags().Centre().Border()); + sizer->Add (t, wxSizerFlags().Centre().Border(wxALL, 2)); sizer->AddSpacer (12); t = new wxStaticText ( @@ -57,8 +60,9 @@ AboutDialog::AboutDialog (wxWindow* parent) _("Free, open-source DCP generation from almost anything."), wxDefaultPosition, wxDefaultSize, wxALIGN_CENTER ); + t->SetFont (subtitle_font); - sizer->Add (t, wxSizerFlags().Centre().Border()); + sizer->Add (t, wxSizerFlags().Centre().Border(wxALL, 8)); wxHyperlinkCtrl* h = new wxHyperlinkCtrl ( this, wxID_ANY, @@ -66,7 +70,7 @@ AboutDialog::AboutDialog (wxWindow* parent) wxT ("http://dcpomatic.com") ); - sizer->Add (h, wxSizerFlags().Centre().Border()); + sizer->Add (h, wxSizerFlags().Centre().Border(wxALL, 8)); t = new wxStaticText ( this, wxID_ANY, @@ -74,7 +78,7 @@ AboutDialog::AboutDialog (wxWindow* parent) wxDefaultPosition, wxDefaultSize, wxALIGN_CENTER ); - sizer->Add (t, wxSizerFlags().Centre().Border()); + sizer->Add (t, wxSizerFlags().Centre().Border(wxLEFT | wxRIGHT, 16)); _notebook = new wxNotebook (this, wxID_ANY); @@ -100,6 +104,7 @@ AboutDialog::AboutDialog (wxWindow* parent) supported_by.Add (wxT ("Manual AC")); supported_by.Add (wxT ("Theo Lipfert")); supported_by.Add (wxT ("Olivier Lemaire")); + supported_by.Add (wxT ("Mattias Mattsson")); supported_by.Add (wxT ("Andrä Steiner")); supported_by.Add (wxT ("Jonathan Jensen")); supported_by.Add (wxT ("Kjarten Michaelsen")); @@ -113,9 +118,12 @@ AboutDialog::AboutDialog (wxWindow* parent) supported_by.Add (wxT ("Lasse Salling")); supported_by.Add (wxT ("Andres Fink")); supported_by.Add (wxT ("Kieran Carroll")); + supported_by.Add (wxT ("Kambiz Afshar")); + supported_by.Add (wxT ("Sean Leigh")); + supported_by.Add (wxT ("Wolfram Weber")); add_section (_("Supported by"), supported_by); - sizer->Add (_notebook, wxSizerFlags().Centre().Border().Expand()); + sizer->Add (_notebook, wxSizerFlags().Centre().Border(wxALL, 16).Expand()); SetSizerAndFit (sizer); } @@ -138,7 +146,7 @@ AboutDialog::add_section (wxString name, wxArrayString credits) int c = 0; for (size_t i = 0; i < credits.Count(); ++i) { - add_label_to_sizer (sizers[c], panel, credits[i]); + add_label_to_sizer (sizers[c], panel, credits[i], false); ++c; if (c == N) { c = 0;