Improved prop sheet dialog layout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1367,7 +1367,7 @@ END_EVENT_TABLE()
|
|||||||
|
|
||||||
SettingsDialog::SettingsDialog(wxWindow* win)
|
SettingsDialog::SettingsDialog(wxWindow* win)
|
||||||
{
|
{
|
||||||
SetExtraStyle(wxDIALOG_EX_CONTEXTHELP);
|
SetExtraStyle(wxDIALOG_EX_CONTEXTHELP|wxWS_EX_VALIDATE_RECURSIVELY);
|
||||||
|
|
||||||
Create(win, -1, _("Preferences"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
|
Create(win, -1, _("Preferences"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
|
||||||
CreateButtons(wxOK|wxCANCEL|wxHELP);
|
CreateButtons(wxOK|wxCANCEL|wxHELP);
|
||||||
@@ -1483,6 +1483,7 @@ wxPanel* SettingsDialog::CreateAestheticSettingsPage(wxWindow* parent)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
topSizer->Add( item0, 1, wxGROW|wxALIGN_CENTRE|wxALL, 5 );
|
topSizer->Add( item0, 1, wxGROW|wxALIGN_CENTRE|wxALL, 5 );
|
||||||
|
topSizer->AddSpacer(5);
|
||||||
|
|
||||||
panel->SetSizer(topSizer);
|
panel->SetSizer(topSizer);
|
||||||
topSizer->Fit(panel);
|
topSizer->Fit(panel);
|
||||||
|
Reference in New Issue
Block a user