Restore the look of the details/banner tab and limit the size of
the properties window so that a large ISO directory doesn't cause the window to take up the full height of the display. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5700 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
673b9ac179
commit
31e442f11d
|
@ -278,7 +278,6 @@ void CISOProperties::CreateGUIControls(bool IsWad)
|
||||||
sButtons->Add(m_Close, 0, wxALL, 5);
|
sButtons->Add(m_Close, 0, wxALL, 5);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// GameConfig editing - Overrides and emulation state
|
// GameConfig editing - Overrides and emulation state
|
||||||
sbGameConfig = new wxStaticBoxSizer(wxVERTICAL, m_GameConfig, _("Game-Specific Settings"));
|
sbGameConfig = new wxStaticBoxSizer(wxVERTICAL, m_GameConfig, _("Game-Specific Settings"));
|
||||||
OverrideText = new wxStaticText(m_GameConfig, ID_OVERRIDE_TEXT, _("These settings override core Dolphin settings.\nUndetermined means the game uses Dolphin's setting."), wxDefaultPosition, wxDefaultSize);
|
OverrideText = new wxStaticText(m_GameConfig, ID_OVERRIDE_TEXT, _("These settings override core Dolphin settings.\nUndetermined means the game uses Dolphin's setting."), wxDefaultPosition, wxDefaultSize);
|
||||||
|
@ -454,7 +453,7 @@ void CISOProperties::CreateGUIControls(bool IsWad)
|
||||||
sISODetails->Add(m_Date, wxGBPosition(4, 1), wxGBSpan(1, 1), wxEXPAND|wxALL, 5);
|
sISODetails->Add(m_Date, wxGBPosition(4, 1), wxGBSpan(1, 1), wxEXPAND|wxALL, 5);
|
||||||
sISODetails->Add(m_FSTText, wxGBPosition(5, 0), wxGBSpan(1, 1), wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
sISODetails->Add(m_FSTText, wxGBPosition(5, 0), wxGBSpan(1, 1), wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
||||||
sISODetails->Add(m_FST, wxGBPosition(5, 1), wxGBSpan(1, 1), wxEXPAND|wxALL, 5);
|
sISODetails->Add(m_FST, wxGBPosition(5, 1), wxGBSpan(1, 1), wxEXPAND|wxALL, 5);
|
||||||
sISODetails->AddGrowableCol(0);
|
sISODetails->AddGrowableCol(1);
|
||||||
sbISODetails = new wxStaticBoxSizer(wxVERTICAL, m_Information, _("ISO Details"));
|
sbISODetails = new wxStaticBoxSizer(wxVERTICAL, m_Information, _("ISO Details"));
|
||||||
sbISODetails->Add(sISODetails, 0, wxEXPAND, 5);
|
sbISODetails->Add(sISODetails, 0, wxEXPAND, 5);
|
||||||
|
|
||||||
|
@ -509,6 +508,8 @@ void CISOProperties::CreateGUIControls(bool IsWad)
|
||||||
sMain->Add(m_Notebook, 1, wxEXPAND|wxALL, 5);
|
sMain->Add(m_Notebook, 1, wxEXPAND|wxALL, 5);
|
||||||
sMain->Add(sButtons, 0, wxEXPAND, 5);
|
sMain->Add(sButtons, 0, wxEXPAND, 5);
|
||||||
sMain->SetMinSize(wxSize(400, 600));
|
sMain->SetMinSize(wxSize(400, 600));
|
||||||
|
|
||||||
|
m_Notebook->SetMaxSize(wxSize(400, 600));
|
||||||
SetSizerAndFit(sMain);
|
SetSizerAndFit(sMain);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue