Browse Source

Pull request #2513: 无JIRA任务 chore: 优化布局

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '0e7505827b9b66f4bb96da87c4d3b5e57a597c86':
  chore: 优化布局
es6
guy 3 years ago
parent
commit
003e17d7b9
  1. 4
      src/core/wrapper/layout/layout.tape.js

4
src/core/wrapper/layout/layout.tape.js

@ -43,8 +43,8 @@ BI.HTapeLayout = BI.inherit(BI.Layout, {
}
w.element.css({
position: "absolute",
top: self._optimiseGap((item.vgap || 0) + (item.tgap || 0) + o.paddingVgap + o.vgap + o.tgap),
bottom: self._optimiseGap((item.bgap || 0) + (item.vgap || 0) + o.paddingVgap + o.vgap + o.bgap)
top: self._optimiseGap((item.vgap || 0) + (item.tgap || 0) + o.innerVGap + o.vgap + o.tgap),
bottom: self._optimiseGap((item.bgap || 0) + (item.vgap || 0) + o.innerVGap + o.vgap + o.bgap)
});
if (o.verticalAlign === BI.VerticalAlign.Middle) {
w.element.css({

Loading…
Cancel
Save