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
My hardware is compatible and my graphics drivers are up-to-date.
What happened?
When trying to add multiple overlay elements, it renders the only first. I took a Floating Button example and got this bug. I also tried to implement my own overlay container but got the same result. For the second overlay even doesn't call an overlay function and the layout isn't being calculated.
Iced version is 0.5, but it can't be chosen from the version dropdown list.
I'm hitting this issue too on iced 0.5.0, iced_native 0.7.0. A quick scan of the iced_native source and I think I can maybe see the problem.
In the implementation of Widget::Overlay for Row there's a call to overlay::from_children, but looking at the source of overlay::from_children, that function's description is "Obtains the first overlay [Element] found in the given children."
This is my first time looking at iced source, so I might be missing something. Would someone who knows this area be able to sanity-check that?
In case it helps anyone else, what I was trying to do was draw an image and show its filename on mouse hover. The way I ended up implementing this was to create a custom widget and use renderer.with_layer in its draw function on hover to show the title.
Is there an existing issue for this?
Is this issue related to iced?
What happened?
When trying to add multiple overlay elements, it renders the only first. I took a Floating Button example and got this bug. I also tried to implement my own overlay container but got the same result. For the second overlay even doesn't call an
overlay
function and the layout isn't being calculated.Iced version is 0.5, but it can't be chosen from the version dropdown list.
Screenshot:
The code:
What is the expected behavior?
I expect the all overlay elements to be rendered
Version
0.4
Operative System
Windows
Do you have any log output?
No response
The text was updated successfully, but these errors were encountered: