UI/UX: Improve keybinding dialog
- Better icons for actions - Make dialog bigger, fixes squashed text issue
This commit is contained in:
parent
b92fb66f38
commit
365e0074ee
@ -8,10 +8,10 @@
|
||||
|
||||
<spacer proportion="1" />
|
||||
|
||||
<buttonbar id="buttons" height="45%" width="100%" align="center">
|
||||
<icon-button id="cancel" width="128" height="128" icon="gui/icons/main_quit.png"
|
||||
<buttonbar id="buttons" height="35%" width="100%" align="center">
|
||||
<icon-button id="cancel" width="128" height="128" icon="gui/icons/back.png"
|
||||
I18N="When configuring input" text="Cancel" align="center"/>
|
||||
<icon-button id="assignEsc" width="128" height="128" icon="gui/icons/back.png"
|
||||
<icon-button id="assignEsc" width="128" height="128" icon="gui/icons/keyboard.png"
|
||||
I18N="When configuring input" text="Assign to ESC key" align="center"/>
|
||||
<icon-button id="assignNone" width="128" height="128" icon="gui/icons/remove.png"
|
||||
I18N="When configuring input" text="Assign nothing" align="center"/>
|
||||
|
@ -586,7 +586,7 @@ void OptionsScreenDevice::eventCallback(Widget* widget,
|
||||
|
||||
binding_to_set = (PlayerAction)n;
|
||||
|
||||
new PressAKeyDialog(0.5f, 0.4f, m_config->isKeyboard());
|
||||
new PressAKeyDialog(0.6f, 0.6f, m_config->isKeyboard());
|
||||
|
||||
if (m_config->isKeyboard())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user