mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Center the buttons in the key config screen
This commit is contained in:
parent
30d1dadece
commit
14b7fdc975
2 changed files with 4 additions and 2 deletions
|
@ -100,7 +100,9 @@ void ControlMapper::Refresh() {
|
|||
root->Add(new Choice(iter->second, new LinearLayoutParams(200, WRAP_CONTENT)))->OnClick.Handle(this, &ControlMapper::OnReplaceAll);
|
||||
} else {
|
||||
// No image? Let's translate.
|
||||
root->Add(new Choice(c->T(keyName_.c_str()), new LinearLayoutParams(200, WRAP_CONTENT)))->OnClick.Handle(this, &ControlMapper::OnReplaceAll);
|
||||
Choice *choice = new Choice(c->T(keyName_.c_str()), new LinearLayoutParams(200, WRAP_CONTENT));
|
||||
choice->SetCentered(true);
|
||||
root->Add(choice)->OnClick.Handle(this, &ControlMapper::OnReplaceAll);
|
||||
}
|
||||
|
||||
LinearLayout *rightColumn = root->Add(new LinearLayout(ORIENT_VERTICAL, new LinearLayoutParams(1.0f)));
|
||||
|
|
2
native
2
native
|
@ -1 +1 @@
|
|||
Subproject commit 685a1f7e6f13a4809b3dc1fb845c16a7402c1bff
|
||||
Subproject commit 9282fa59cadc1faad6c247d413fb96231293acd2
|
Loading…
Add table
Reference in a new issue