Closed JHarding86 closed 1 year ago
In LVGL v8 if the coordinates of an image widget are set to larger values manually, the image source will be tiled. Using LV_GRID_ALIGN_STRETCH
can solve the problem.
In LVGL v8 if the coordinates of an image widget are set to larger values manually, the image source will be tiled. Using
LV_GRID_ALIGN_STRETCH
can solve the problem.
I don't set the coordinates of the image widget in my example code. Isn't the point of the grid layout to not need to use coordingates? If I use a grid and alignment options then I shouldn't need to nit pick coordinates?
Also in my example code above that is broken, I use LV_GRID_ALIGN_STRETCH.
I don't set the coordinates of the image widget in my example code.
I'm sorry, my description was really obscure. So what happens is that under the hood LV_GRID_ALIGN_STRETCH
sets the coordinates of the widgets to actually stretch them.
We need some feedback on this issue.
Now we mark this as "stale" because there was no activity here for 14 days.
Remove the "stale" label or comment else this will be closed in 7 days.
As there was no activity here for a while we close this issue. But don't worry, the conversation is still here and you can get back to it at any time.
So feel free to comment if you have remarks or ideas on this topic.
Perform all steps below and tick them with [x]
Describe the bug
Adding images to a grid system yields unexpected results. More than one of the image is added to the grid.
To Reproduce
Buttons work great in the grid system. passing a 0 to the gridTest function will test images, passing a 1 will test buttons. images fail.
Expected behavior
Only one image should be added to the grid system
Screenshots or video