Hi, first I’d like to thank juce team for such an awesome library.
I got some draggable child components which are located freely in the parent component, parent has also to perform panning, zooming and must be able to create childs at runtime with an arbitrary position, every child component has a mouseDown and mouseDrag override, and ones dragged I use setTopLeftCorner to position them relative to parents bounds, the parent also has overrided childBoundsChanged and has to resize when a node goes out of localBounds, up to this point everything works fine but when any child would go with a negative position, it’s clipped out. Doesn’t matter how I resize and reposition the parent component, those nodes are always out of localBounds and gone like forever.
I’ve tried to use setPaintingIsUnclipped(true) on parent and childs and can draw them but can’t make hitTest work outside parentsBounds, and I guess even if I somehow make it work it’s not a good solution anyway.
In the end, I wan’t to accomplish a nodeGraph behavior with infinite large bounds in all directions, and can have a very large amount of childs nodes.
Any better approach suggestions or for now is there a proper way to get childs components with negative position work the same way as they would when are within positive parentBounds?