Making the PageUp / PageDown button area wider (Window_Selectable)

Hisao Shou

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

A friend told me to stop making nomnom or gulping noise when eating or drinking. Plot twist of my life. I thought people can't hear that!
Inside you are two wolves. They take in oxygen while getting rid of the Co2 gas in your body...
Ah wait, sorry. Lungs. Not wolves. that'd be silly. Wolves are huge. You probably couldnt even fit one wolf inside you.
Tag: hack and slash | gameplay: point and click. Me: "How tf two are related to each other?"
I picked up For The King in a Humble Bundle sale, and one mechanic that stuck out to me was a physical change to the world map when finishing a side quest. That got me thinking about special map-effect rewards for certain side quests in my game.
Stream will be live shortly with some Witcher 3! Feel free to drop by!

Forum statistics

Threads
94,402
Messages
920,688
Members
124,192
Latest member
Cremo
Top