Making the PageUp / PageDown button area wider (Window_Selectable)

Hisao Shou

Veteran
Veteran
Joined
Jan 8, 2015
Messages
130
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
130
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
130
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

Okay, that's the best I can do. Looks a little strange but..err.. it's my style, yeah, very original style..
being an extreme introvert with massive anxiety... I forget this is really, REALLY frustrating for people who are the exact opposite. still, wait this out and stay home...
I hope you all are keeping safe. <3 If you need a shoulder or an ear, I have two of both and am more than willing to listen & support you! Times are weird.
My dad, super frustrated by seclusion, asking me how I live like this. I shrug. "It helps to not like what is outside."
Apparently it's not just people who are hit by corona virus. My phone has set itself to English language on its own. Not that I'm complaining... :D

Forum statistics

Threads
95,444
Messages
929,188
Members
125,685
Latest member
imnotanepicgamer
Top