Browse Source

Pull request #13515: REPORT-99485 修复模版tab下拉框触发区太大的问题

Merge in DESIGN/design from ~VITO/c-design:newui to newui

* commit 'c6dd3f622c434384ae690bd1ca9a0d9b23a58308':
  REPORT-99485 修复模版tab下拉框触发区太大的问题
newui
vito-刘恒霖 11 months ago
parent
commit
d0b583310c
  1. 2
      designer-base/src/main/java/com/fr/design/file/MultiTemplateTabPane.java

2
designer-base/src/main/java/com/fr/design/file/MultiTemplateTabPane.java

@ -783,7 +783,7 @@ public class MultiTemplateTabPane extends Row {
private boolean isOverListDown(int evtX) { private boolean isOverListDown(int evtX) {
int maxWidth = getWidth() - scale(TRAILING_WIDTH) - scale(LEADING_WIDTH); int maxWidth = getWidth() - scale(LEADING_WIDTH);
return evtX >= (maxWidth + SMALLGAP) && evtX <= (getWidth() - SMALLGAP); return evtX >= (maxWidth + SMALLGAP) && evtX <= (getWidth() - SMALLGAP);
} }

Loading…
Cancel
Save