mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Make the save slot buttons a better size. Bugfix.
This commit is contained in:
parent
73990bcc32
commit
ef1bac4628
@ -327,8 +327,8 @@ void GameBrowser::Refresh() {
|
||||
|
||||
if (allowBrowsing_) {
|
||||
LinearLayout *topBar = new LinearLayout(ORIENT_HORIZONTAL, new LinearLayoutParams(FILL_PARENT, WRAP_CONTENT));
|
||||
#ifdef ANDROID
|
||||
topBar->Add(new TextView(path_.GetFriendlyPath().c_str(), ALIGN_VCENTER, 1.0f, new LinearLayoutParams(WRAP_CONTENT, FILL_PARENT, 1.0f)));
|
||||
#ifdef ANDROID
|
||||
topBar->Add(new Choice("Home"))->OnClick.Handle(this, &GameBrowser::HomeClick);
|
||||
#endif
|
||||
ChoiceStrip *layoutChoice = topBar->Add(new ChoiceStrip(ORIENT_HORIZONTAL));
|
||||
@ -585,10 +585,10 @@ void GamePauseScreen::CreateViews() {
|
||||
leftColumn->Add(leftColumnItems);
|
||||
|
||||
saveSlots_ = leftColumnItems->Add(new ChoiceStrip(ORIENT_HORIZONTAL, new LinearLayoutParams(300, WRAP_CONTENT)));
|
||||
saveSlots_->AddChoice("1");
|
||||
saveSlots_->AddChoice("2");
|
||||
saveSlots_->AddChoice("3");
|
||||
saveSlots_->AddChoice("4");
|
||||
saveSlots_->AddChoice(" 1 ");
|
||||
saveSlots_->AddChoice(" 2 ");
|
||||
saveSlots_->AddChoice(" 3 ");
|
||||
saveSlots_->AddChoice(" 4 ");
|
||||
saveSlots_->SetSelection(g_Config.iCurrentStateSlot);
|
||||
|
||||
leftColumnItems->Add(new Choice(gs->T("Save State")))->OnClick.Handle(this, &GamePauseScreen::OnSaveState);
|
||||
|
2
native
2
native
@ -1 +1 @@
|
||||
Subproject commit c3ea52bad545439454ca60612efd56071e0b94d9
|
||||
Subproject commit 569cdb9c081e7af82125510dbd38ba2cedfff6f3
|
Loading…
Reference in New Issue
Block a user