Browse Source

JSY-26262 fix: 更改布局方式

research/test
Renzo 2 years ago
parent
commit
d5bcff9a0a
  1. 14
      src/widget/multiselect/multiselect.loader.nobar.js

14
src/widget/multiselect/multiselect.loader.nobar.js

@ -98,13 +98,15 @@ BI.MultiSelectNoBarLoader = BI.inherit(BI.Widget, {
value: this.storeValue value: this.storeValue
}, opts.el)); }, opts.el));
BI.createWidget({ BI.createWidget(BI.extend({
type: "bi.absolute", element: this
element: this, }, BI.LogicFactory.createLogic(BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Top), BI.extend({
items: [{el: this.button_group, inset: 0}], scrolly: true,
vgap: 5 vgap: 5
}); }, opts.logic, {
items: BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Top, this.button_group)
}))));
this.button_group.on(BI.Controller.EVENT_CHANGE, function () { this.button_group.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });

Loading…
Cancel
Save