fineui是帆软报表和BI产品线所使用的前端框架。

26 lines
631 B

8 years ago
/**
* Created by User on 2017/3/21.
*/
Demo.VerticalLayout = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-vertical"
},
render: function () {
return {
type: "bi.vertical",
vgap: 10,
8 years ago
items: [{
type: "bi.label",
7 years ago
cls: "layout-bg3",
text: "垂直布局",
8 years ago
height: 30
}, {
type: "bi.label",
7 years ago
cls: "layout-bg4",
text: "垂直布局",
8 years ago
height: 30
}]
7 years ago
};
8 years ago
}
});
8 years ago
BI.shortcut("demo.vertical", Demo.VerticalLayout);