fineui是帆软报表和BI产品线所使用的前端框架。
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.

18 lines
453 B

8 years ago
Demo.CenterAdapt = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-absolute"
},
render: function () {
return {
type: "bi.center_adapt",
items: [{
type: "bi.label",
7 years ago
text: "水平垂直居中",
width: 300,
height: 200,
8 years ago
cls: "layout-bg1"
}]
7 years ago
}
7 years ago
}
8 years ago
});
8 years ago
BI.shortcut("demo.center_adapt", Demo.CenterAdapt);