diff --git a/src/widget/multitree/multi.tree.popup.js b/src/widget/multitree/multi.tree.popup.js index 64d54d66b..e39033b16 100644 --- a/src/widget/multitree/multi.tree.popup.js +++ b/src/widget/multitree/multi.tree.popup.js @@ -9,7 +9,7 @@ BI.MultiTreePopup = BI.inherit(BI.Pane, { return BI.extend(BI.MultiTreePopup.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-multi-tree-popup", maxWidth: "auto", - minWidth: 100, + minWidth: 140, maxHeight: 400, onLoaded: BI.emptyFn, el: { diff --git a/src/widget/multitree/trigger/multi.tree.button.checkselected.js b/src/widget/multitree/trigger/multi.tree.button.checkselected.js index 4cb5489d7..3b51fb6f9 100644 --- a/src/widget/multitree/trigger/multi.tree.button.checkselected.js +++ b/src/widget/multitree/trigger/multi.tree.button.checkselected.js @@ -59,7 +59,13 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, { setValue: function (v) { v || (v = {}); - this.setVisible(BI.size(v.value) > 0); + var show = BI.size(v.value) > 0; + this.setVisible(show); + if(show) { + this.indicator.setVisible(true); + this.checkSelected.setVisible(false); + } + } });