Page 1 of 1

Changing borders for thumb buttons in gui

Posted: Fri Apr 29, 2022 2:25 am
by Widdershins
(I'm fairly new, so apologies if this is silly and I've just missed a page somewhere, but I've looked around and I'm still a bit stuck) I'm swapping out the plain rectangles used for the sliders and scrollbars with more irregular shapes; I've been happy with how the bars themselves have swapped out, but I can't seem to figure out how to adjust the borders on the thumb files so that it doesn't cause little blips in the bar (as seen below).

Image

Any guidance on where I can adjust borders so that the center of my little acorns (which is lined up more neatly) hits the bars? Similarly, the vertical thumbs also do crazy things, and I'm not sure how to keep the image from stretching out excessively.

Thank you for your patience in reading, and thank you thank you thank you in advance for any advice!

Re: Changing borders for thumb buttons in gui

Posted: Fri Apr 29, 2022 6:12 pm
by Alex
Set the thumb_offset property for your buttons (directly or in style) - https://www.renpy.org/doc/html/style_pr ... umb_offset

Re: Changing borders for thumb buttons in gui

Posted: Sat Apr 30, 2022 1:45 am
by Widdershins
Thank you very much!! Figured I was missing it somewhere; I appreciate your patience and assistance!