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 Profile Posts

This is on the Amazon page for the FF7 Remake: 'If you get the game early, please think of others and don't spoil it for them. Please don't post videos or screenshots of the game until it is officially on sale on April 10.'
Gave my avatar an update, stay safe, people!
I'm currently available for hire for scripting (and perhaps other things).
Also, don't worry, the Advanced Minimap plugin is a work in progress.
Hallelujah! Work is getting stricter on humans in the store.
Day 3 of mapping... at least the whole game its just one location :3 (Still taking forever...)

Forum statistics

Threads
95,622
Messages
930,500
Members
125,929
Latest member
RitBro
Top