View Full Version : move window in the Desktop

11 Jan 2011, 12:16 PM

I use the class Desktop (com.extjs.gxt.desktop.client.Desktop) in the center panel of a borderLayout. My layout have a left panel and a center panel. I add a window in the desktop of my center panel and it's work fine. But when I move or resize my window, I can overlap the left panel, and it's not I want. I would like when my window is resize or move, they stay in the desktop in the center panel.



11 Jan 2011, 12:34 PM
you can set a container to any window.

Desktop class was not designed for be hanled as a chilld. You will need to create an own desktop implementation. Desktop uses a Viewport internly.