You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
553 B
20 lines
553 B
7 years ago
|
Demo.IconLabel = BI.inherit(BI.Widget, {
|
||
|
props: {
|
||
|
baseCls: "demo-bubble"
|
||
|
},
|
||
|
render: function () {
|
||
|
return {
|
||
|
type: "bi.default",
|
||
|
items: [{
|
||
|
type: "bi.label",
|
||
|
text: "这是一个icon标签,在加了border之后仍然是居中显示的"
|
||
|
}, {
|
||
|
type: "bi.icon_label",
|
||
|
cls: "date-font bi-border",
|
||
|
height: 40,
|
||
|
width: 40
|
||
|
}]
|
||
|
};
|
||
|
}
|
||
|
});
|
||
|
BI.shortcut("demo.icon_label", Demo.IconLabel);
|