Browse Source

Pull request #2064: 无JIRA任务 bugfix

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

* commit 'afe441f2ddcc032728c5f7ef3821a130c00edd41':
  add
es6
guy 3 years ago
parent
commit
c6f85ae23c
  1. 10
      src/core/wrapper/layout/fill/float.fill.horizontal.js

10
src/core/wrapper/layout/fill/float.fill.horizontal.js

@ -42,7 +42,8 @@ BI.FloatHorizontalFillLayout = BI.inherit(BI.Layout, {
self.addWidget(self._getChildName(rank++), w);
w.element.addClass("h-float-fill-item");
w.element.css({
float: "left"
float: "left",
position: "relative",
});
});
BI.backAny(items, function (i, item) {
@ -57,7 +58,8 @@ BI.FloatHorizontalFillLayout = BI.inherit(BI.Layout, {
self.addWidget(self._getChildName(rank++), w);
w.element.addClass("h-float-fill-item");
w.element.css({
float: "right"
float: "right",
position: "relative",
});
});
BI.each(items, function (i, item) {
@ -65,7 +67,9 @@ BI.FloatHorizontalFillLayout = BI.inherit(BI.Layout, {
if (columnSize === "fill") {
var w = BI._lazyCreateWidget(item);
self.addWidget(self._getChildName(rank++), w);
w.element.addClass("h-float-fill-item");
w.element.addClass("h-float-fill-item").css({
position: "relative",
});
}
});
},

Loading…
Cancel
Save