我有一堆tbar项目显示在新的行中。它工作得很好。但我遇到的唯一问题是在每个tbars之间显示一个水平边界。我怎么才能删除它呢?
items: [
{
xtype: 'panel',
id: 'navi',
region: 'west',
collapsible: false,
title: 'Navigation',
bodyStyle: 'background-color: #BFCBD5',
width: 155,
animCollapse: true,
minHeight: 600,
items: [
{
border:0,
tbar: [
{
xtype: 'button',
text: 'Home',
textAlign:'left',
width: 140,
align:'left',
//bodyStyle: 'background-color:#BFCBD5;',
handler: function() {
document.location.href = BasePath;
}
}
]
},
{
border:0,
tbar: [
{
xtype: 'button',
text: 'Dashboard',
textAlign:'left',
width: 140,
handler: function() {
document.location.href="http://www.dtvdashboard.com";
}
}
]
},
{
xtype: 'text',
padding: '64 0 0 0',
text: "Logged in as:",
textAlign:'left',
style : "color:#3E546B;font-style:italic;font-size: 11px;",
width: 140,
handler: function() {
document.location.href="";
}
},
]
}
]编辑:我添加了bodyBorder:false,这有点去掉了边框线。但我仍然能看到较浅的边界阴影

发布于 2012-12-12 03:54:16
删除这个边界的可能性很大。
点击按钮你可以移除tbar,只停留在按钮上(例如:http://jsfiddle.net/kKjuC/1/)
href (示例:href DataViewhttps://stackoverflow.com/questions/13824026
复制相似问题