Results 1 to 5 of 5

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

Hybrid View

Previous Post Previous Post   Next Post Next Post
    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
      0  

    Exclamation 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 User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    145
      0  

    Default

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

  3. #3
    Ext JS Premium Member
    Join Date
    Apr 2011
    Location
    London, UK
    Posts
    32
    Vote Rating
    1
      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
      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 User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    145
      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

Posting Permissions

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