|
|
@ -6158,30 +6158,7 @@ Demo.HtapeLayout = BI.inherit(BI.Widget, { |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.shortcut("demo.htape", Demo.HtapeLayout);Demo.InlineVerticalLayout = BI.inherit(BI.Widget, { |
|
|
|
BI.shortcut("demo.htape", Demo.HtapeLayout);/** |
|
|
|
props: { |
|
|
|
|
|
|
|
baseCls: "demo-absolute" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
|
|
|
return { |
|
|
|
|
|
|
|
type: "bi.inline_vertical_adapt", |
|
|
|
|
|
|
|
items: [{ |
|
|
|
|
|
|
|
type: "bi.label", |
|
|
|
|
|
|
|
text: "绝对布局", |
|
|
|
|
|
|
|
cls: "layout-bg1", |
|
|
|
|
|
|
|
width: 300, |
|
|
|
|
|
|
|
height: 200 |
|
|
|
|
|
|
|
}, { |
|
|
|
|
|
|
|
type: "bi.label", |
|
|
|
|
|
|
|
text: "绝对布局", |
|
|
|
|
|
|
|
cls: "layout-bg1", |
|
|
|
|
|
|
|
width: 300, |
|
|
|
|
|
|
|
height: 100 |
|
|
|
|
|
|
|
}] |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
BI.shortcut("demo.inline_vertical", Demo.InlineVerticalLayout);/** |
|
|
|
|
|
|
|
* Created by User on 2017/3/22. |
|
|
|
* Created by User on 2017/3/22. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
Demo.LeftRightVerticalAdaptLayout = BI.inherit(BI.Widget, { |
|
|
|
Demo.LeftRightVerticalAdaptLayout = BI.inherit(BI.Widget, { |
|
|
|