Browse Source

Pull request #2206: 无jira任务,SearchMultiSelectLoader下拉项高度支持调整

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

* commit '61ea7f2353cc17bff380115ccb5e09efdf38d44b':
  无jira任务,SearchMultiSelectLoader下拉项高度调整
es6
Guyi 3 years ago
parent
commit
20db37225c
  1. 9
      src/widget/searchmultitextvaluecombo/multitextvalue.loader.search.js

9
src/widget/searchmultitextvaluecombo/multitextvalue.loader.search.js

@ -17,6 +17,7 @@ BI.SearchMultiSelectLoader = BI.inherit(BI.Widget, {
},
valueFormatter: BI.emptyFn,
itemsCreator: BI.emptyFn,
itemHeight: BI.SIZE_CONSANTS.LIST_ITEM_HEIGHT,
onLoaded: BI.emptyFn
});
},
@ -34,6 +35,12 @@ BI.SearchMultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.select_list",
element: this,
logic: opts.logic,
toolbar: {
type: "bi.multi_select_bar",
cls: "bi-list-item-active",
height: this.options.itemHeight,
iconWrapperWidth: 36
},
el: BI.extend({
onLoaded: opts.onLoaded,
el: {
@ -112,7 +119,7 @@ BI.SearchMultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.multi_select_item",
logic: this.options.logic,
cls: "bi-list-item-active",
height: 24,
height: this.options.itemHeight,
selected: this.isAllSelected(),
iconWrapperWidth: 36
});

Loading…
Cancel
Save