Browse Source

Pull request #207163: KERNEL-13349 feat: 复选下拉框checkselectedswitcher修复

Merge in DEC/fineui from ~DAILER/fineui-decision-build:final/11.0 to final/11.0

* commit '3a06d3a166c4ff5caa2211e3dcffe81a7e82532a':
  KERNEL-13349 feat: 复选下拉框checkselectedswitcher修复
  KERNEL-13349 feat: 复选下拉框checkselectedswitcher修复
master
Dailer-刘荣歆 2 years ago
parent
commit
2789e52b60
  1. 1
      src/less/widget/multitree/trigger/multi.tree.button.checkselected.less
  2. 5
      src/widget/multitree/trigger/multi.tree.button.checkselected.js

1
src/less/widget/multitree/trigger/multi.tree.button.checkselected.less

@ -7,6 +7,7 @@
} }
.trigger-check-text { .trigger-check-text {
.border-radius(8px); .border-radius(8px);
.border-radius(calc(var(--css-scale, 1) * 8px));
z-index: 1; z-index: 1;
&:active { &:active {
background-color: @color-bi-background-multi-select-trigger-check-selected; background-color: @color-bi-background-multi-select-trigger-check-selected;

5
src/widget/multitree/trigger/multi.tree.button.checkselected.js

@ -19,8 +19,8 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, {
this.indicator = BI.createWidget({ this.indicator = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
cls: "check-font trigger-check-selected icon-size-12", cls: "check-font trigger-check-selected icon-size-12",
width: 15, width: 16,
height: 15, height: 16,
stopPropagation: true stopPropagation: true
}); });
@ -31,7 +31,6 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, {
hgap: 4, hgap: 4,
text: BI.i18nText("BI-Check_Selected"), text: BI.i18nText("BI-Check_Selected"),
textAlign: "center", textAlign: "center",
textHeight: 15
}); });
this.checkSelected.on(BI.Controller.EVENT_CHANGE, function () { this.checkSelected.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);

Loading…
Cancel
Save