Browse Source

REPORT-51188 决策报表的tab块,在绝对布局下拖拽存在缩小问题

bugfix/10.0
kerry 4 years ago
parent
commit
90dfc04e35
  1. 2
      designer-form/src/main/java/com/fr/design/mainframe/FormArea.java

2
designer-form/src/main/java/com/fr/design/mainframe/FormArea.java

@ -411,8 +411,8 @@ public class FormArea extends JComponent implements ScrollRulerComponent {
if (root.acceptType(XWFitLayout.class)) { if (root.acceptType(XWFitLayout.class)) {
XWFitLayout layout = (XWFitLayout) root; XWFitLayout layout = (XWFitLayout) root;
layout.setContainerPercent(value / DEFAULT_SLIDER); layout.setContainerPercent(value / DEFAULT_SLIDER);
traverAndAdjust(layout, percent);
layout.adjustCreatorsWhileSlide(percent); layout.adjustCreatorsWhileSlide(percent);
traverAndAdjust(layout, percent);
// 拖动滑块,先将内部组件百分比大小计算,再计算容器大小 // 拖动滑块,先将内部组件百分比大小计算,再计算容器大小

Loading…
Cancel
Save