我需要 去掉所有边框。我已经添加了 border:false
但是它没有生效。
请注意,我想保留这个蓝色的背景,所以我使用了 frame:true
。
我的代码
region: 'north',
split: true,
border: false,
height: 115,
layout: 'border',
items: [ {///Account info
xtype: 'form',
region: 'east',
border: false,
frame: true,
//height: 100,
width: 500, //'49%',//anchor : '50%',
layout: 'column',
items: [
{ columnWidth: .5,
border: false,
frame: true,
defaults: { labelStyle: 'font-size:9px' },
items: [{
xtype: 'displayfield',
fieldLabel: 'Customer',
value: '<span style="color:blue;font-size:9px">IBM</span>'
}, {
xtype: 'displayfield',
fieldLabel: 'Subscription',
value: '<span style="color:blue;font-size:9px">On demand</span>'
}, {
xtype: 'displayfield',
fieldLabel: 'Remaining credits',
value: '<span style="color:blue;font-size:9px">23</span>'
}]
}, {
columnWidth: .5,
border: false,
frame: true,
margin : '0 0 0 8',
defaults: { labelStyle: 'font-size:9px' },
items: [{
xtype: 'displayfield',
fieldLabel: 'Account',
value: '<span style="color:blue;font-size:9px">Mike</span>'
}, {
xtype: 'displayfield',
fieldLabel: 'credentials',
value: '<span style="color:blue;font-size:9px">User</span>'
}]
}