Move FifoPlayer 'Close' button to the right side of the dialog

This commit is contained in:
Julian Löhr 2016-08-16 03:13:24 +02:00
parent 41e64cfdfc
commit 34385760c6
1 changed files with 1 additions and 13 deletions

View File

@ -284,19 +284,7 @@ void FifoPlayerDlg::CreateGUIControls()
}
sMain->Add(m_Notebook, 1, wxEXPAND | wxALL, 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);
sMain->Add(CreateButtonSizer(wxCLOSE), 0, wxEXPAND | wxLEFT | wxRIGHT | wxBOTTOM, 5);
SetSizer(sMain);
Layout();