mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
(Android) Made the multiline text edit popup smaller when using the Android soft keyboard
This commit is contained in:
parent
3da749c5e3
commit
a8f93cb2bb
|
@ -97,8 +97,13 @@ GuiTextEditPopup::GuiTextEditPopup(const HelpStyle& helpstyle,
|
||||||
|
|
||||||
float textHeight = mText->getFont()->getHeight();
|
float textHeight = mText->getFont()->getHeight();
|
||||||
|
|
||||||
|
#if defined(__ANDROID__)
|
||||||
|
if (multiLine)
|
||||||
|
textHeight *= 2.0f;
|
||||||
|
#else
|
||||||
if (multiLine)
|
if (multiLine)
|
||||||
textHeight *= 6.0f;
|
textHeight *= 6.0f;
|
||||||
|
#endif
|
||||||
|
|
||||||
mText->setSize(0.0f, textHeight);
|
mText->setSize(0.0f, textHeight);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue