Move FifoPlayer 'Close' button to the right side of the dialog
This commit is contained in:
parent
41e64cfdfc
commit
34385760c6
|
@ -284,19 +284,7 @@ void FifoPlayerDlg::CreateGUIControls()
|
||||||
}
|
}
|
||||||
|
|
||||||
sMain->Add(m_Notebook, 1, wxEXPAND | wxALL, 5);
|
sMain->Add(m_Notebook, 1, wxEXPAND | wxALL, 5);
|
||||||
|
sMain->Add(CreateButtonSizer(wxCLOSE), 0, wxEXPAND | wxLEFT | wxRIGHT | wxBOTTOM, 5);
|
||||||
wxBoxSizer* sButtons;
|
|
||||||
sButtons = new wxBoxSizer(wxHORIZONTAL);
|
|
||||||
|
|
||||||
wxBoxSizer* sCloseButtonExpander;
|
|
||||||
sCloseButtonExpander = new wxBoxSizer(wxHORIZONTAL);
|
|
||||||
|
|
||||||
sButtons->Add(sCloseButtonExpander, 1, wxEXPAND, 5);
|
|
||||||
|
|
||||||
m_Close = new wxButton(this, wxID_ANY, _("Close"));
|
|
||||||
sButtons->Add(m_Close, 0, wxALL, 5);
|
|
||||||
|
|
||||||
sMain->Add(sButtons, 0, wxEXPAND, 5);
|
|
||||||
|
|
||||||
SetSizer(sMain);
|
SetSizer(sMain);
|
||||||
Layout();
|
Layout();
|
||||||
|
|
Loading…
Reference in New Issue