Sencha touch 如何在Sencha框架中编辑取消按钮的样式。
我有这个密码 我需要将一个主题应用到数据采集器中的Cacel按钮。。。知道怎么做吗 { xtype:“datepickerfield”, 标签:“开始日期XXX”, 名称:“DateStart”Sencha touch 如何在Sencha框架中编辑取消按钮的样式。,sencha-touch,extjs,sencha-touch-2,Sencha Touch,Extjs,Sencha Touch 2,我有这个密码 我需要将一个主题应用到数据采集器中的Cacel按钮。。。知道怎么做吗 { xtype:“datepickerfield”, 标签:“开始日期XXX”, 名称:“DateStart” //labelWidth: labelWidth, value: new Date(), picker: { yearFrom: yearFrom, yearTo :
//labelWidth: labelWidth,
value: new Date(),
picker: {
yearFrom: yearFrom,
yearTo : yearTo,
hideOnMaskTap: true
// toolbar: {
// xtype: 'toolbar',
// items: [
// {
// /*xtype: 'button',
// text: 'Left',*/
// ui: 'custom-btn-confirm',
// style: 'color: #ffffff'
// },
// {
// /*xtype: 'button',
// text: 'Left Two',*/
// ui: 'custom-btn-confirm',
// style: 'color: #ffffff'
// }
// ]
// }
}
},
{
您可以使用:
cls:“myapp cancelbutton”
为按钮编写自定义CSS,也可以使用预定义的ui:“cancel”