hi,
I have a window with a single canvas. Many draggable items are placed in the canvas. When I move the items beyond the window boundary, I want to have a scroll bar for the window. I tried different settings and getting strange result. The following code gives behaviour like: when the items cross the boundary, the hosted browser’s scroll bar appears.
Window window = new Window();
window.setWidth(600);
window.setHeight(400);
window.setCanDragResize(true);
window.setShowCustomScrollbars(true);
Canvas canvas = new Canvas();
canvas.setShowCustomScrollbars(true);
...
window.addChild(canvas);
window.draw();