PDA

View Full Version : [INFOREQ] [4.0.7] Components style in tbar



Radius-Service
10 Nov 2011, 2:13 AM
Incorrect rendering of the components in the toolbar.



Ext.create('Ext.grid.Panel', {
id : 'vProductsParam.grid',
store : 'vProductsParam.ds',
viewConfig: {
allowDeselect: true,
stripeRows: true
},
flex: 1,
columns: [],
tbar:[
{
id : 'vProductsParam.window.combo_producttype',
xtype : 'combobox',
emptyText : '???????? ??? ???????',
editable : false,
forceSelection : true,
mode : 'local',
displayField : 'DISPLAYTEXT',
valueField : 'PRT',
width : 150,
triggerAction : 'all',
typeAhead : true,
lazyRender : true,
value : 1,
store : store
},
{
id : 'vProductsParam.window.radiogroup_parametrestype_1',
xtype : 'radio',
boxLabel: '??????',
name : 'assemblyTypeProduct'
},
{
id : 'vProductsParam.window.radiogroup_parametrestype_2',
xtype : 'checkbox',
boxLabel: '????????',
name : 'asssemblyTypeProduct'
},
{
id : 'vProductsParam.window.radiogroup_parametrestype_23',
xtype : 'textfield',
boxLabel: '????????',
height : 21,
name : 'assemblyTypeProduct'
}
]
});


29205





Ext.create('Ext.grid.Panel', {
id : 'vProductsParam.grid',
store : 'vProductsParam.ds',
viewConfig: {
allowDeselect: true,
stripeRows: true
},
flex: 1,
columns: [],
tbar:[
{
id : 'vProductsParam.window.combo_producttype',
xtype : 'combobox',
emptyText : '???????? ??? ???????',
editable : false,
forceSelection : true,
mode : 'local',
displayField : 'DISPLAYTEXT',
valueField : 'PRT',
width : 150,
triggerAction : 'all',
style : 'margin-top: 10px;',
typeAhead : true,
lazyRender : true,
value : 1,
store : store
},
{
id : 'vProductsParam.window.radiogroup_parametrestype_1',
xtype : 'radio',
boxLabel: '??????',
name : 'assemblyTypeProduct'
},
{
id : 'vProductsParam.window.radiogroup_parametrestype_2',
xtype : 'checkbox',
boxLabel: '????????',
name : 'asssemblyTypeProduct'
},
{
id : 'vProductsParam.window.radiogroup_parametrestype_23',
xtype : 'textfield',
boxLabel: '????????',
height : 21,
name : 'assemblyTypeProduct'
}
]
});

Combobox: style : 'margin-top: 10px;',

29207

mitchellsimoens
19 Nov 2011, 1:22 PM
Do you have locally runnable code?

http://www.sencha.com/forum/showthread.php?138165-How-to-report-a-bug

Radius-Service
21 Nov 2011, 1:22 AM
Test site: http://extjs-test.vashot.com/ (http://extjs-test.vashot.com)

WinXP SP3, Opera 10.52, Ext JS 4.0. 7-gpl

29440