Hello •ᴗ•
Trying to make a custom UI using ImGui.
I’ve followed this great tutorial to stack elements on top of eachothers :
Custom Widgets with Dear ImGui - vvvvTv S02 E04
Using the method mention in this episode (re-placing cursor to stack elements), i’ve stacked a Button on top of a PlotHistrogram.
After this i can call ÌsItemHovered, IsItemClicked on the context to check wether the stacked button is hovered or clicked.
But unfortunatly IsItemActive do not seem to work on this button (when the click is hold on the button).
IsItemActive work on a non-stacked button, so i was wondering if you know any way to get this working on a stacked one.
What i’ve tryed allready :
- Stacking the
Buttonon top of aProgressBarinstead :IsItemActivework !
This probably mean that the issue come from the interactive part of the Plot. (don’t seem we can disable that). - Placing the
PlotHistogramfirst, then stacking aProgressBar, then stacking theButton:IsItemActivedo not work !
A way to disable the interactivity of the PlotHistrogram would be a solution, but how ?
Thanks !



