There is a text button, there are styles. But I can't make a border.
Code: Select all
screen statsBtn():
style_prefix 'statsBTN'
if stats_btn_visible:
textbutton ('STATS'):
style statsBTN_button:
margin(10,10)
background "#dc3f26"
hover_background "#00a"
style statsBTN_button_text:
size 20
color "#fff"
hover_color "#000"
But it doesn't work with a border... I saw an example on the internet with "Borders(10,10,10,10) but it doesn't work
I have tried several options: Borders(), borders() and others. And I can't find an example code for overriding styles
If you know examples with code for border styles, I will be very glad if you share it. Because I would like to customize the text button, add rounded corners and other nice things like in CSS (if it's possible in Renpy)