Browse Source

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

Merge in DESIGN/design from ~KERRY/design_10.0:bugfix/10.0 to bugfix/10.0

* commit '90dfc04e35f3ef671dad5a56cd4ebcf86115d8cf':
  REPORT-51188 决策报表的tab块,在绝对布局下拖拽存在缩小问题
bugfix/10.0
kerry 4 years ago
parent
commit
48becf41b9
  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)) {
XWFitLayout layout = (XWFitLayout) root;
layout.setContainerPercent(value / DEFAULT_SLIDER);
traverAndAdjust(layout, percent);
layout.adjustCreatorsWhileSlide(percent);
traverAndAdjust(layout, percent);
// 拖动滑块,先将内部组件百分比大小计算,再计算容器大小

Loading…
Cancel
Save