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
Describe the bug
Any time an image or an image button or a button with an image is placed inside of a container it is no longer visible. This has been tested with panels, containers, and widgets. All produce the same result which is the image is no longer visible when executing on Arduino. Displays fine in the GUI but not during runtime.
To Reproduce
Steps to reproduce the behavior:
Go to 'Screen'
Click on 'Add image component'
Run project and observe the image appear
Go back to 'Screen'
Click on 'Add panel'
Drag image into 'Panel'
Run project and observe the image disappear
Expected behavior
The image is expected to be visible in the runtime as it is within the GUI.
Desktop (please complete the following information):
OS: Mac
Version 15.3.2
** LVGL version (if used)**
8.x
Additional context
I've tested this extensively inside of widgets, outside of widgets and it is very repeatable. Unless the image is a root level element it is not visible during runtime. If it is inside a button or is an image button the functionality of that event will work. It simply doesn't display correctly.
The text was updated successfully, but these errors were encountered:
Make sure Image property Top (y) and Left (x) are within Panel's visible area.
Thank you I had that set and it didn't work in the GUI it was showing in the correct location and visible. However, I did figure out how to solve it. I had to explicitly set an image style to recolor and set opacity. This resolves the issue, although it still is not clear why I have to recolor an image to the same color it is. But it works that way. Thank you!
Just FYI the left/top was not my issue. I did figure it out though apparently when using 1 bit color images there can be recoloring by default. This was causing the image to not be visible since it recolored to black and was going onto a black background. The image itself was white. Just FYI in case others experience this.
Describe the bug
Any time an image or an image button or a button with an image is placed inside of a container it is no longer visible. This has been tested with panels, containers, and widgets. All produce the same result which is the image is no longer visible when executing on Arduino. Displays fine in the GUI but not during runtime.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The image is expected to be visible in the runtime as it is within the GUI.
Desktop (please complete the following information):
** LVGL version (if used)**
Additional context
I've tested this extensively inside of widgets, outside of widgets and it is very repeatable. Unless the image is a root level element it is not visible during runtime. If it is inside a button or is an image button the functionality of that event will work. It simply doesn't display correctly.
The text was updated successfully, but these errors were encountered: