Page 1 of 1

[SOLVED] Textbutton won't display on screen

Posted: Thu Jul 18, 2019 2:08 am
by nemlei
Hello!

Using Ren'Py 7.3.2.

This is a bit tricky, because it's an issue a player has reported, however I haven't been able to recreate it even once.
Apparently the textbutton "Back" doesn't appear on their screen. It appears fine on mine and the few other players screens I've seen.

I have a custom screen with a textbutton that takes you back to a previous screen.

Code: Select all

screen custom():

    tag menu

    key "K_ESCAPE" action ShowMenu('othercustom')

    add "images/image.jpg"

    vbox:
        xalign 0.9
        yalign 0.9
        textbutton "Back" action ShowMenu('othercustom')
Any ideas what's happening?

Re: Textbutton won't display on screen

Posted: Thu Jul 18, 2019 5:41 am
by hell_oh_world
Maybe because you aligned the vbox on the very bottom right of the screen?

Try setting the align (0.5, 0.5)... and see if it will appear on the center
I'm not sure though... I'm also new :)

If you want the button to appear on the very bottom right... First you might wanna set the anchor (1.0, 1.0) then the pos (0.9, 0.9)... But in the documentation it says that align() is equal to setting the anchor and pos on same values... I don't know though :D

Re: Textbutton won't display on screen

Posted: Thu Jul 18, 2019 11:58 am
by Alex
nemlei wrote:
Thu Jul 18, 2019 2:08 am
... This is a bit tricky, because it's an issue a player has reported, however I haven't been able to recreate it even once.
Apparently the textbutton "Back" doesn't appear on their screen. It appears fine on mine and the few other players screens I've seen. ...
This might be an issue with video card... Let them try to hold shift while running exe-file of a game and choose different renderers to see if that solves the issue.

Re: Textbutton won't display on screen

Posted: Fri Jul 19, 2019 1:17 pm
by nemlei
Alex wrote:
Thu Jul 18, 2019 11:58 am
This might be an issue with video card... Let them try to hold shift while running exe-file of a game and choose different renderers to see if that solves the issue.
Thank you! The issue has been solved!