frb
11 Feb 2012, 5:41 AM
Write simple project:
Ext.define('MyApp.view.ui.MyContainer', {
extend: 'Ext.container.Container',
height: 37,
width: 1094,
layout: {
type: 'hbox'
},
initComponent: function() {
var me = this;
Ext.applyIf(me, {
items: [
{
xtype: 'combobox',
fieldLabel: 'Label'
}
]
});
me.callParent(arguments);
}
});
save project, close designer, open designer and saved project:
Ext.define('MyApp.view.ui.MyContainer', {
extend: 'Ext.container.Container',
height: 37,
width: 1094,
layout: {
type: 'hbox'
},
initComponent: function() {
var me = this;
Ext.applyIf(me, {
items: [
{
xtype: 'combobox',
fieldLabel: 'Label',
flex: 1
}
]
});
me.callParent(arguments);
}
});
designer add flex: 1 to combobox -> in big project all design fail
this sometime affect other components(set flex to buttons, radio groups and other..)
Ext.define('MyApp.view.ui.MyContainer', {
extend: 'Ext.container.Container',
height: 37,
width: 1094,
layout: {
type: 'hbox'
},
initComponent: function() {
var me = this;
Ext.applyIf(me, {
items: [
{
xtype: 'combobox',
fieldLabel: 'Label'
}
]
});
me.callParent(arguments);
}
});
save project, close designer, open designer and saved project:
Ext.define('MyApp.view.ui.MyContainer', {
extend: 'Ext.container.Container',
height: 37,
width: 1094,
layout: {
type: 'hbox'
},
initComponent: function() {
var me = this;
Ext.applyIf(me, {
items: [
{
xtype: 'combobox',
fieldLabel: 'Label',
flex: 1
}
]
});
me.callParent(arguments);
}
});
designer add flex: 1 to combobox -> in big project all design fail
this sometime affect other components(set flex to buttons, radio groups and other..)