windy 7 years ago
parent
commit
cb83b411b1
  1. 3
      uidoc/case/editor/shelter_editor.md
  2. 8
      uidoc/core/layout/center.md
  3. 24
      uidoc/core/layout/horizontal.md

3
uidoc/case/editor/shelter_editor.md

@ -12,9 +12,6 @@ BI.createWidget({
element: "#wrapper",
type: "bi.shelter_editor",
cls: "bi-border",
ref:function(_ref){
editor=_ref;
},
width: 300,
watermark: "这个是带标记的"
});

8
uidoc/core/layout/center.md

@ -21,14 +21,6 @@ BI.createWidget({
text: "Center 2,为了演示label是占满整个的,用了一个whiteSpace:normal",
cls: "layout-bg2",
whiteSpace: "normal"
},{
type: "bi.label",
text: "Center 3",
cls: "layout-bg3"
},{
type: "bi.label",
text: "Center 4",
cls: "layout-bg5"
}],
hgap: 20,
vgap: 20

24
uidoc/core/layout/horizontal.md

@ -12,33 +12,17 @@ BI.createWidget({
type: 'bi.horizontal',
element: "#wrapper",
items: [{
type: "bi.absolute",
items: [{
el: {
type: "bi.text_button",
cls: "layout-bg1",
text: "这里设置了lgap,rgap,tgap,bgap",
height: 30
},
left: 0,
right: 0
}],
width: 100,
height: 30
height: 30,
width: 200
}, {
type: "bi.absolute",
items: [{
el: {
type: "bi.text_button",
cls: "layout-bg2",
text: "这里设置了lgap,rgap,tgap,bgap",
height: 30
},
left: 0,
right: 0
}],
width: 200,
height: 30
height: 30,
width: 200
}]
});

Loading…
Cancel
Save