Browse Source

Pull request #2065: 无JIRA任务 bugfix

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

* commit '41cb7606fe9ff07ea667f7bfbdc9e162093595ff':
  优化一下
es6
guy 3 years ago
parent
commit
87920f1b51
  1. 6
      src/core/wrapper/layout/fill/float.fill.horizontal.js

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

@ -43,7 +43,7 @@ BI.FloatHorizontalFillLayout = BI.inherit(BI.Layout, {
w.element.addClass("h-float-fill-item"); w.element.addClass("h-float-fill-item");
w.element.css({ w.element.css({
float: "left", float: "left",
position: "relative", position: "relative"
}); });
}); });
BI.backAny(items, function (i, item) { BI.backAny(items, function (i, item) {
@ -59,7 +59,7 @@ BI.FloatHorizontalFillLayout = BI.inherit(BI.Layout, {
w.element.addClass("h-float-fill-item"); w.element.addClass("h-float-fill-item");
w.element.css({ w.element.css({
float: "right", float: "right",
position: "relative", position: "relative"
}); });
}); });
BI.each(items, function (i, item) { BI.each(items, function (i, item) {
@ -68,7 +68,7 @@ BI.FloatHorizontalFillLayout = BI.inherit(BI.Layout, {
var w = BI._lazyCreateWidget(item); var w = BI._lazyCreateWidget(item);
self.addWidget(self._getChildName(rank++), w); self.addWidget(self._getChildName(rank++), w);
w.element.addClass("h-float-fill-item").css({ w.element.addClass("h-float-fill-item").css({
position: "relative", position: "relative"
}); });
} }
}); });

Loading…
Cancel
Save