Sencha touch 删除列表项分隔符/边框
我已经检查了DOM,但仍然看不到分隔符/边框添加到列表项的位置。我想删除它们Sencha touch 删除列表项分隔符/边框,sencha-touch,extjs,sencha-touch-2,Sencha Touch,Extjs,Sencha Touch 2,我已经检查了DOM,但仍然看不到分隔符/边框添加到列表项的位置。我想删除它们 有人知道怎么做吗?它位于div.x-list-item-label,只需将其CSS样式更改为: border-top: none !important; border-bottom: none !important; /* For the last row */ 希望有帮助。它位于div.x-list-item-label,只需将其CSS样式更改为: border-top: none !important; bor
有人知道怎么做吗?它位于
div.x-list-item-label
,只需将其CSS样式更改为:
border-top: none !important;
border-bottom: none !important; /* For the last row */
希望有帮助。它位于
div.x-list-item-label
,只需将其CSS样式更改为:
border-top: none !important;
border-bottom: none !important; /* For the last row */
希望它能有所帮助。只有当您希望将上述方法应用于应用程序中的每个列表时,它才是正确的 如果要以正确的方式执行,则需要将内联样式添加到创建的列表中。下面是我如何在应用程序的收件箱屏幕中执行此操作的:
{
xtype: 'list',
disableSelection: true, // only if you want to disable selection of the list
config: {
style: {
'border': '0',
},
},
itemTpl: '<div>{itemContent}</div>'
}
{
xtype:'列表',
disableSelection:true,//仅当要禁用列表选择时
配置:{
风格:{
“边框”:“0”,
},
},
itemTpl:“{itemContent}”
}
仅当您希望将上述方法应用于应用程序中的每个列表时,该方法才是正确的
如果要以正确的方式执行,则需要将内联样式添加到创建的列表中。下面是我如何在应用程序的收件箱屏幕中执行此操作的:
{
xtype: 'list',
disableSelection: true, // only if you want to disable selection of the list
config: {
style: {
'border': '0',
},
},
itemTpl: '<div>{itemContent}</div>'
}
{
xtype:'列表',
disableSelection:true,//仅当要禁用列表选择时
配置:{
风格:{
“边框”:“0”,
},
},
itemTpl:“{itemContent}”
}
好的,我肯定能找到它。但我想知道为什么它位于一个名为“…label”的类中。不管怎样,谢谢。好的,我肯定能找到它。但我想知道为什么它位于一个名为“…label”的类中。无论如何,谢谢你。