mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Move FifoPlayer 'Close' button to the right side of the dialog
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user