Hybrid View
-
13 Mar 2012 9:09 AM #1
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...
-
13 Mar 2012 10:23 AM #2
Please explain in detail the steps you are taking and the results you would expect.
Aaron Conran
@aconran
Sencha Architect Development Team
-
14 Mar 2012 2:11 AM #3
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 #4
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 #5
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
Success! Looks like we've fixed this one. According to our records the fix was applied for
DSGNR-1564
in
Architect 2.0.


Reply With Quote