You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm fairly certain this will turn out to be a layout issue. Image is a weird widget at present in that it doesn't enforce a minimum size constraint, so I suspect what is happening here is that the Image is collapsing to 0 size. I think the immediate workaround will be to add a fixed height and width (or a flex=1) to the style definition for the image; the longer term fix will be to ensure that there's a default intrinsic size derived by the size of the image itself.
Describe the bug
When you create an image_view, put this in a Box and put this box in main_window. The image doesnt appear.
I have this code :
But if on the line
self.mainBox.add(self.box1)
, I haveself.mainBox.add(image_view)
, the image appearSteps to reproduce
Expected behavior
Normally the image needs to appear when its in a box like if the image is not in box.
Screenshots
No response
Environment
Logs
Additional context
No response
The text was updated successfully, but these errors were encountered: