First, I have created a window in a similar way as in the showcase, which looks ok and is draggable on the header:
http://www.smartclient.com/smartgwt/showcase/#layout_windows_autosize
As I need text to be selected, I also set setCanSelectText(true).
This also works fine.
However, when you set setShowHeader(false) on the window, SmartGWT changes the behaviour of dragging on the window's content.
Instead of selecting text, now it initiates the repositioning of the Window.
Since I have created my own header for my window, is there any way I can avoid this behaviour and make sure that the window is only moved when dragging the custom header?
Thanks!
http://www.smartclient.com/smartgwt/showcase/#layout_windows_autosize
As I need text to be selected, I also set setCanSelectText(true).
This also works fine.
However, when you set setShowHeader(false) on the window, SmartGWT changes the behaviour of dragging on the window's content.
Instead of selecting text, now it initiates the repositioning of the Window.
Since I have created my own header for my window, is there any way I can avoid this behaviour and make sure that the window is only moved when dragging the custom header?
Thanks!
Comment