Making the PageUp / PageDown button area wider (Window_Selectable)

Hisao Shou

Veteran
Veteran
Joined
Jan 8, 2015
Messages
131
Reaction score
15
Primarily Uses
Hello there! I have recently tried to make the area of the Page up / Page down of a list a little wider, so it can be easily pressed on Mobile interface.
I have found a way to change the graphic of the button, but the graphic was not linked to hitbox area which can be pressed.

1578952235086.jpg

TL;DR: I want to make Page Up / Page Down List buttons bigger for Mobile Users.

If you could help me I would be really grateful!
 

Ossra

Formerly Exhydra
Veteran
Joined
Aug 21, 2013
Messages
965
Reaction score
708
First Language
English
Primarily Uses
RMMV
@Hisao Shou You would need to increase the standard padding from the default 18 to around 50. Unfortunately, since there is no separate horizontal padding option, doing so would increase the padding on all sides. There does not seem to be a simple way to create a wider touch area without doing some extensive tinkering.
 

Hisao Shou

Veteran
Veteran
Joined
Jan 8, 2015
Messages
131
Reaction score
15
Primarily Uses
@Hisao Shou You would need to increase the standard padding from the default 18 to around 50. Unfortunately, since there is no separate horizontal padding option, doing so would increase the padding on all sides. There does not seem to be a simple way to create a wider touch area without doing some extensive tinkering.
Thank you for pointing out @Ossra. For me I think this will work out.
Do you know any way to increase the padding size of a specific Window_Selectable window?
 

Ossra

Formerly Exhydra
Veteran
Joined
Aug 21, 2013
Messages
965
Reaction score
708
First Language
English
Primarily Uses
RMMV
@Hisao Shou That would depend on the window. Sometimes the functions which determine the size, shape, and so on are changed within the code of the window.
 

Hisao Shou

Veteran
Veteran
Joined
Jan 8, 2015
Messages
131
Reaction score
15
Primarily Uses
@Hisao Shou That would depend on the window. Sometimes the functions which determine the size, shape, and so on are changed within the code of the window.
I found the function. I have returned the updatePadding function to the window.
Thank you for your help! It means a lot!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Well, looks like I need to build myself a quest system. Or really just a system for "Helpful voices" to talk to the player. I'm sure nothing will go wrong listening to them.... They're "helpful". :LZSwink:

Should be pretty easy with PIXI just letting me write all over the screen. :LZSexcite:
I'm starting to think I just dont like anime since the last one I enjoyed was none of them.
Hi guys, Im new here. Im using RPGMMV. In this community i would like to learn more and become better rpg developer.
The main character for the first game was originally going to become a member of the party in the third game but I'm probably changing him to an important NPC instead. That brings the third game's total ensemble roster down to nine with one optional secret character.

Forum statistics

Threads
95,593
Messages
930,309
Members
125,898
Latest member
dudoanxsmb
Top