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

3
uidoc/case/editor/shelter_editor.md

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

8
uidoc/core/layout/center.md

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

36
uidoc/core/layout/horizontal.md

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

Loading…
Cancel
Save