Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Child Window when dragged to top - hides behind the Parent Title bar

    Hi,
    I am using Smart GWT 2.2 in IE 6.0
    I have a child Window in my Application which can be drag resized from bottom and right. The issue am having is - when I drag the child window to the top, the child window's title bar disappears behind the parent window , and am not able to minimize/ close it except for dragging it from the bottom or right which eventually resizes the window but not able to close / minimize the child window. I see this problem even in some of the smart GWT showcase windows as shown in the screenshot attached. Am I missing some setting here? Any pointers on how to make the child window contained within the parent window even after drag resize?

    Note: My child windows are not modal. I need to have multiple child windows open at a time.
    Attached Files

    #2
    I just had to add
    setKeepInParentRect(true) to prevent the child window title bar hidden behind the parent window when dragged.

    Found this useful - posted by svjard in an older post:
    http://www.smartclient.com/smartgwt/showcase/#effects_dd_resize

    Comment

    Working...
    X