Success! Looks like we've fixed this one. According to our records the fix was applied for DSGNR-1564 in a recent build.
  1. #1
    Ext JS Premium Member
    Join Date
    Apr 2011
    Location
    London, UK
    Posts
    32
    Vote Rating
    1
    markofsine is on a distinguished road

      0  

    Exclamation Top level instances are not stretching to fit available canvas when size cleared

    Top level instances are not stretching to fit available canvas when size cleared


    Environment : ExtJs 4.0.x

    In the latest version of the designer the border layout needs a height specified.

    As my views are all going to be viewed within a viewport this makes no sense.
    I am now forced to put a height to be able to design anything and then remove before saving/deploying...

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,445
    Vote Rating
    129
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Please explain in detail the steps you are taking and the results you would expect.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Ext JS Premium Member
    Join Date
    Apr 2011
    Location
    London, UK
    Posts
    32
    Vote Rating
    1
    markofsine is on a distinguished road

      0  

    Default


    1. Create a new component (e.g Panel)
    --- Set layout to border
    --- Remove height & width
    --- Previous the panel would then have expanded to fit the canvas

    2. Add sub component to top panel - region center
    --- Add text field to center region - form expands as required
    --- Panel show text field

    3. Add sub component to top panel - region north
    -- Entire top panel collapses showing no canvas


    The only way forward is then to add a height to the top panel component

  4. #4
    Ext JS Premium Member
    Join Date
    Apr 2011
    Location
    London, UK
    Posts
    32
    Vote Rating
    1
    markofsine is on a distinguished road

      0  

    Default


    Note this also affects other components....

    Previously I believe the underlying 'virtual' canvas that we were laying components onto was defined with a layout of 'fit'.
    This has changed.

  5. #5
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,445
    Vote Rating
    129
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    I renamed the title of the thread to be more descriptive of the problem and have pushed this into our bug tracking system.

    Thanks for the bug report.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Thread Participants: 1