Browse Source

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

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

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

@ -447,9 +447,9 @@ public class FormArea extends JComponent implements ScrollRulerComponent {
if (root.acceptType(XWFitLayout.class)) {
XWFitLayout layout = (XWFitLayout) root;
layout.setContainerPercent(1.0);
traverAndAdjust(layout, 0.0);
layout.adjustCreatorsWhileSlide(0.0);
layout.adjustCreatorsWhileSlide(0.0);
traverAndAdjust(layout, 0.0);
// 拖动滑块,先将内部组件百分比大小计算,再计算容器大小
Dimension d = new Dimension(layout.getWidth(), layout.getHeight());

Loading…
Cancel
Save