For my project i need to build Imaged Buttons, for selecting my brushes. My Window for brushes is a window, and not a child window, inside the drawing window.
I didnt find any access of how a ImGui button is constructed, i presume its pure C-Sharp.
So, if there is no simple way to get images inside a button (wich i didnt find), i m facing a trouble: how to get my home made button position, to code the interaction with mouse , with the peculiar structure of imgui ?
it looks like the VL.ImGui.Stride has a bug with clipping LayerWidget.
Ah, or LayerWidget works only for the Skia context, it’s coming form VL.ImGui.Skia.
You can use TextureWidget instead to draw textures inside the ImGui.Stride.
Check HowTo ImGui in Stride from the HelpBrowser.
By the way, you could patch your custom-image-button like this:
There is also a trouble with the Renderwidget. Renderwidget is display out of the window if a part of it is contains in the window. @robotanton Thank you a lot for your help, it gaved me a great solution !