[CLOSED] Preventing a window moved with header outside browser window

  1. #1

    [CLOSED] Preventing a window moved with header outside browser window

    I can move my window so heigh that my window can't be closed again (because the header is 'under' the browser toolbar and the close button can't be clicked again)

    Is there a trick to prevent that ?

    martin
    Last edited by Daniil; Sep 23, 2010 at 8:00 AM. Reason: [CLOSED]
  2. #2
    Hi martin,

    You can experiment with the .Constrain, and .ContrainHeader properties, see

    http://dev.sencha.com/deploy/dev/doc...mber=constrain

    http://dev.sencha.com/deploy/dev/doc...onstrainHeader

    Setting .Contrain="true" will constrain the whole Window inside the browser window.

    Setting .ContrainHeader="true" will only constrain the Windows header within the browser window, and will allow the bottom of the Window to be dragged below the bottom of the page.

    Hope this helps.
    Geoffrey McGill
    Founder
  3. #3
    Thanks Geoffrey,

    Works like a charm !

    Remember to use 'constrainHeader' (lowercap c) when creating a window from javascript

    Martin

Similar Threads

  1. Opening a new Browser window on row select
    By OSSAGHO in forum 1.x Help
    Replies: 0
    Last Post: Sep 23, 2011, 8:41 AM
  2. [CLOSED] Preventing a Desktop Window from being shown in the taskbar
    By r_honey in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Jan 04, 2011, 7:46 PM
  3. [CLOSED] Open a browser window from a DirectEvent
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 07, 2010, 6:55 PM
  4. Replies: 2
    Last Post: May 16, 2009, 5:51 AM
  5. Gridpanel resize with browser window
    By DasPhansom in forum 1.x Help
    Replies: 3
    Last Post: Dec 22, 2008, 12:05 PM

Tags for this Thread

Posting Permissions