FeliPereira97

Veteran
Veteran
Joined
Jun 27, 2018
Messages
33
Reaction score
2
First Language
Portuguese
Primarily Uses
RMMV
In 854x480 resolution (ideal for mobile), the keyboard when inputting text is cut at the bottom. Is there any alternative to this one? Or is there a way to change the top box's size?.
Thanks in advance
upload_2019-7-31_13-17-40.png
 

PhxFire

The Eternal Flame
Veteran
Joined
Jul 1, 2019
Messages
131
Reaction score
69
First Language
English
Primarily Uses
RMMV
Try the SRD_SuperToolsEngine Plugin, it makes editing menu boxes extremely easy
 

FeliPereira97

Veteran
Veteran
Joined
Jun 27, 2018
Messages
33
Reaction score
2
First Language
Portuguese
Primarily Uses
RMMV
I had tried this before, but then my game wouldn't work on mobile
 

ovate

tale
Veteran
Joined
Dec 16, 2016
Messages
860
Reaction score
1,486
First Language
English
Primarily Uses
N/A
Here's a snippet, edits are from Window_NameEdit in rpg_windows.js (Version 1.5.1)
Code:
Window_NameEdit.prototype.windowHeight = function() {
    return this.fittingHeight(2); // default, return this.fittingHeight(4); (changes top box size)
};

Window_NameEdit.prototype.itemRect = function(index) {
    return {
        x: this.left() + index * this.charWidth(),
        y: 24, // default, y: 54, (position for name text)
        width: this.charWidth(),
        height: this.lineHeight()
    };
};

It should fit in with 854x480 resolution. Face graphic is cut off a bit.

q3DdF9G.png


Dropbox link: https://www.dropbox.com/s/eg1my3za5g08qc0/NameInputMobile.js?dl=1
 

Attachments

  • NameInputMobile.js
    422 bytes · Views: 0

Latest Threads

Latest Profile Posts

so... I decided since a park was an area in my game... here's an enemy that's slide with a hand behind it. cause why not.
Hot chocolate and music make studying and note-taking much easier :kaoluv:
Until my hand cramps up from writing too much!
Doing RPG Maker News for 21st September 2021


Malak is still waiting for Dark Deception Chapter 4... This was him yesterday after another sugar crash.
Again, he's fine. He's just bored at this point, considering he's exhausted his entire vacation bucket list.
Am I the only one who files custom resources under specific folders to remember who to credit? :kaoswt2:
1632263519730.png

Forum statistics

Threads
115,269
Messages
1,088,476
Members
149,873
Latest member
DeadlightBC
Top