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
691 B
25 lines
691 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-bg1", |
|
text: "这里设置了hgap(水平间距),vgap(垂直间距)", |
|
height: 30 |
|
}, { |
|
type: "bi.label", |
|
cls: "layout-bg2", |
|
text: "这里设置了hgap(水平间距),vgap(垂直间距)", |
|
height: 30 |
|
}] |
|
} |
|
} |
|
}); |
|
$.shortcut("demo.vertical", Demo.VerticalLayout); |