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
852
Reaction score
1,483
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 Posts

Latest Profile Posts

Working in the IT industry:
- "How long does it take?".
- "It takes 1 month".
- "What if we add more people to the project?".
- "It would take 2 months".
Doing RPG Maker News for 16th September 2021

Stream is live! I am currently doing pixel art and will be practicing shading! Feel free to drop by!
wow, Surface Tension is really one MF of an FPS level huh
So, I got let go from my current job because my skill set didn't align with the department's goals anymore. I have some hope, because I am currently in contact with a manager from a different department, and they are desperate for more employees. We'll see what happens... :kaoswt:

Forum statistics

Threads
115,120
Messages
1,087,368
Members
149,605
Latest member
Sedenho93
Top