|
|
@ -447,9 +447,9 @@ 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(1.0); |
|
|
|
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()); |
|
|
|
Dimension d = new Dimension(layout.getWidth(), layout.getHeight()); |
|
|
|