Results 1 to 2 of 2

Thread: Add a window to a container without constraints to it

  1. #1
    Sencha Premium User d.zucconi's Avatar
    Join Date
    Jun 2008
    Location
    Piacenza (Italy)
    Posts
    102
    Answers
    2

    Default Answered: Add a window to a container without constraints to it

    Hi all,

    When I want to use a Ext.window.Window inheriting view model and controller from another container, I usually create it using "add" method on the parent container. This works and the window correctly inherits model and controller but it is also constrained to the parent container (I cannot move the window outside the parent area).
    Is there some way to add the window to a container without constraints to it ?

    Thanks

  2. Actually my was a configuration problem: using constrainHeader the window is correctly constrained to parent container.
    I must set also
    constrainTo
    with another region (viewport region) to get a better and less restricted window constrain.

  3. #2
    Sencha Premium User d.zucconi's Avatar
    Join Date
    Jun 2008
    Location
    Piacenza (Italy)
    Posts
    102
    Answers
    2

    Lightbulb

    Actually my was a configuration problem: using constrainHeader the window is correctly constrained to parent container.
    I must set also
    constrainTo
    with another region (viewport region) to get a better and less restricted window constrain.

Similar Threads

  1. Trying to hide Window Component & render Panel Component
    By Abhishek Pandey in forum Ext: Q&A
    Replies: 3
    Last Post: 26 Sep 2013, 12:30 AM
  2. Replies: 1
    Last Post: 16 Jun 2013, 8:53 PM
  3. Replies: 1
    Last Post: 11 Apr 2012, 8:24 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •