Best approach to handle scrollbars for custom widget

I’m currently trying to add scrollbars to the canvas of a nodes widget. also see issue:
I know I can use Begin/EndChild but that seems to fail on widgets with a negative position. In my case users can move the widgets (nodes) around so they could end up with negative coords.

Is there any other way to use the scrollbar to set a custom offset?



There’s no reason that would fail. Please clarify this… best discussing this in the github issue you linked to.