|
|
@ -173,6 +173,9 @@ public class FRFitLayoutDefinePane extends AbstractDataModify<WFitLayout> { |
|
|
|
if (value instanceof Integer) { |
|
|
|
if (value instanceof Integer) { |
|
|
|
state = (Integer) value; |
|
|
|
state = (Integer) value; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
//todo 验证下
|
|
|
|
|
|
|
|
layout.setLayoutType(WBodyLayoutType.parse(state)); |
|
|
|
|
|
|
|
layout.setCompState(adaptComboBox.getSelectedIndex()); |
|
|
|
try { |
|
|
|
try { |
|
|
|
if (state == WBodyLayoutType.ABSOLUTE.getTypeValue()) { |
|
|
|
if (state == WBodyLayoutType.ABSOLUTE.getTypeValue()) { |
|
|
|
WAbsoluteBodyLayout wAbsoluteBodyLayout = new WAbsoluteBodyLayout("body"); |
|
|
|
WAbsoluteBodyLayout wAbsoluteBodyLayout = new WAbsoluteBodyLayout("body"); |
|
|
@ -201,9 +204,6 @@ public class FRFitLayoutDefinePane extends AbstractDataModify<WFitLayout> { |
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage()); |
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage()); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
//todo 验证下
|
|
|
|
|
|
|
|
layout.setLayoutType(WBodyLayoutType.parse(state)); |
|
|
|
|
|
|
|
layout.setCompState(adaptComboBox.getSelectedIndex()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int intervelValue = (int)componentIntervel.getValue(); |
|
|
|
int intervelValue = (int)componentIntervel.getValue(); |
|
|
|
if (xWFitLayout.canAddInterval(intervelValue)) { |
|
|
|
if (xWFitLayout.canAddInterval(intervelValue)) { |
|
|
|