|
|
@ -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); |
|
|
|
|
|
|
|
|
|
|
|
// 拖动滑块,先将内部组件百分比大小计算,再计算容器大小
|
|
|
|
// 拖动滑块,先将内部组件百分比大小计算,再计算容器大小
|
|
|
|
|
|
|
|
|
|
|
|