The behaviour in hosted env is as expected, whereas getting weird problem with browser.
Here is the scenario as given in the code below. A window is poped-up with a canvas inside. Components are placed in the canvas. I am able to drag the window and the components move along.
However the same apps running in a browser (ie and chrome), sticks the component to the browser panel(guess the viewport). The window is empty.
Am I missing something?
Here is the scenario as given in the code below. A window is poped-up with a canvas inside. Components are placed in the canvas. I am able to drag the window and the components move along.
However the same apps running in a browser (ie and chrome), sticks the component to the browser panel(guess the viewport). The window is empty.
Am I missing something?
Code:
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();
Comment