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.
25 lines
608 B
25 lines
608 B
/** |
|
* Created by User on 2017/3/21. |
|
*/ |
|
Demo.VerticalLayout = BI.inherit(BI.Widget, { |
|
props: { |
|
baseCls: "demo-vertical" |
|
}, |
|
render: function () { |
|
return { |
|
type: "bi.vertical", |
|
items: [{ |
|
type: "bi.label", |
|
cls: "layout-bg3", |
|
text: "垂直布局", |
|
height: 30 |
|
}, { |
|
type: "bi.label", |
|
cls: "layout-bg4", |
|
text: "垂直布局", |
|
height: 30 |
|
}] |
|
} |
|
} |
|
}); |
|
BI.shortcut("demo.vertical", Demo.VerticalLayout); |