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
The issue is that when DrawOnlyWidget is used inside GridCell, it creates a nested widget that uses the default 18px height instead of the GridCell's 150px height. During scrolling, only the first 18px are "rendered", causing the widget to disappear prematurely as soon as those pixels scroll out of view.
I ran the same code with your pullrequest and it fixes the issue 👍
Just to be sure, as far as I understand the API, there is no other way to get the available rect when drawing a widget than putting it in a grid cell to get an image.Rect?
Activity
Vmarcelo49 commentedon Dec 29, 2025
The issue is that when DrawOnlyWidget is used inside GridCell, it creates a nested widget that uses the default 18px height instead of the GridCell's 150px height. During scrolling, only the first 18px are "rendered", causing the widget to disappear prematurely as soon as those pixels scroll out of view.
Vmarcelo49 commentedon Dec 29, 2025
I am trying to find a fix for this that does not change either functions signatures.
t-geindre commentedon Dec 30, 2025
I ran the same code with your pullrequest and it fixes the issue 👍
Just to be sure, as far as I understand the API, there is no other way to get the available rect when drawing a widget than putting it in a grid cell to get an
image.Rect?hajimehoshi commentedon Sep 26, 2026
Sorry for my terribly late reply. I'll take a look
debugui: fix DrawOnlyWidget rendering in scrolled grid cells
hajimehoshi commentedon Sep 26, 2026
Confirmed. I'll review the PR
debugui: fix DrawOnlyWidget rendering in scrolled grid cells
debugui: draw DrawOnlyWidget without culling by its layout item
debugui: draw DrawOnlyWidget without culling by its layout item
debugui: draw DrawOnlyWidget without culling by its layout item (#48)
hajimehoshi commentedon Sep 26, 2026
Use
a40c4af6cbb46b4a5df6d1070c2d7fcf6ebaff9auntil I release v0.3.1 a few days later. Thanks,