Merge pull request #4022 from leoetlino/about-links
DolphinWX: Center the links in the About dialog
This commit is contained in:
commit
0b19975fe5
|
@ -82,16 +82,19 @@ AboutDolphin::AboutDolphin(wxWindow* parent, wxWindowID id, const wxString& titl
|
|||
Copyright->SetFont(CopyrightFont);
|
||||
Copyright->SetFocus();
|
||||
|
||||
wxSizerFlags center_flag;
|
||||
center_flag.Center();
|
||||
|
||||
wxBoxSizer* const sCheckUpdates = new wxBoxSizer(wxHORIZONTAL);
|
||||
sCheckUpdates->Add(UpdateText);
|
||||
sCheckUpdates->Add(Download);
|
||||
sCheckUpdates->Add(UpdateText, center_flag);
|
||||
sCheckUpdates->Add(Download, center_flag);
|
||||
|
||||
wxBoxSizer* const sLinks = new wxBoxSizer(wxHORIZONTAL);
|
||||
sLinks->Add(License);
|
||||
sLinks->Add(FirstSpacer);
|
||||
sLinks->Add(Authors);
|
||||
sLinks->Add(SecondSpacer);
|
||||
sLinks->Add(Support);
|
||||
sLinks->Add(License, center_flag);
|
||||
sLinks->Add(FirstSpacer, center_flag);
|
||||
sLinks->Add(Authors, center_flag);
|
||||
sLinks->Add(SecondSpacer, center_flag);
|
||||
sLinks->Add(Support, center_flag);
|
||||
|
||||
wxBoxSizer* const sInfo = new wxBoxSizer(wxVERTICAL);
|
||||
sInfo->Add(Dolphin);
|
||||
|
|
Loading…
Reference in New Issue