View Full Version : [FIXED] Top level instances are not stretching to fit available canvas when size cleared
13 Mar 2012, 9:09 AM
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...
13 Mar 2012, 10:23 AM
Please explain in detail the steps you are taking and the results you would expect.
14 Mar 2012, 2:11 AM
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
14 Mar 2012, 2:13 AM
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.
14 Mar 2012, 8:12 AM
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.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.