-
3 Feb 2012 2:41 AM #1
Bug: Tablelayout
Bug: Tablelayout
Designer version tested:- Designer: 1.2.2 Build: 48
- Ubuntu 11.10 3.0.0-15-generic x86_64 / Gnome Shell 3.2.1
- Ext JS 3.4
- When using "Table Layout", Number of columns set is ignored.
not given
Steps to reproduce the problem:- Create a panel
- Use the cog to switch to table layout
- set columns to 2
- add three panels inside the first
- A panel with three panels inside, two in the first row, one in the second
- three panels inside a single row
- attached
- none
- Changes in MyPanelUi.js:
- toCode:
columns: 2
Code:layoutConfig: {columns: 2} - This is a VERY BAD fix, as it gets reset afer each export
-
17 May 2012 1:24 PM #2
Here is what I'm thinking for codegen:
Code:MyPanelUi = Ext.extend(Ext.Panel, { height: 250, width: 400, layout: { columns: 2, type: 'table' }, title: 'My Panel', initComponent: function() { Ext.applyIf(this, { items: [ { xtype: 'panel', height: 50, width: 50, title: 'My Panel' }, { xtype: 'panel', height: 100, width: 100, title: 'My Panel' }, { xtype: 'panel', height: 50, width: 50, title: 'My Panel' } ] }); MyPanelUi.superclass.initComponent.call(this); } });Phil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team
Known Bugs in Architect Latest
Success! Looks like we've fixed this one. According to our records the fix was applied for
DSIGNERONE-1
in
a recent build.


Reply With Quote