[fixed in 7.3] visual bug when combining hbox/vbox, button, image and text

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
User avatar
Kia
Eileen-Class Veteran
Posts: 1039
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

[fixed in 7.3] visual bug when combining hbox/vbox, button, image and text

#1 Post by Kia »

I found this specific combination creates a visual bug

Code: Select all

screen vpt:
    hbox:
        frame:
            viewport:
                xysize 440,300 draggable True edgescroll (50,200) mousewheel True
                frame:
                    padding 0,0
                    hbox:
                        spacing 10 box_wrap True box_wrap_spacing 10
                        for i in range(32):
                            button:
                                xysize 100,100 padding 0,0 background "#333"
                                add "beer.png"
                                text "3"
when I scroll down the buttons that are out don't have image or text.
either of these changes will fix the bug:
box to grid,
button to fixed,
add to background
or removing the text
Last edited by Kia on Sun Jun 09, 2019 11:54 pm, edited 1 time in total.

User avatar
PyTom
Ren'Py Creator
Posts: 16088
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: visual bug when combining hbox/vbox, button, image and text

#2 Post by PyTom »

This will be fixed in Ren'Py 7.3.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: No registered users