|
|
@ -162,15 +162,11 @@ public class FormArea extends JComponent implements ScrollRulerComponent { |
|
|
|
jf.resolution = (int) value; |
|
|
|
jf.resolution = (int) value; |
|
|
|
jf.getFormDesign().setResolution((int) value); |
|
|
|
jf.getFormDesign().setResolution((int) value); |
|
|
|
jf.getFormDesign().getArea().resolution = (int) value; |
|
|
|
jf.getFormDesign().getArea().resolution = (int) value; |
|
|
|
double times = (double) resolution / 100; |
|
|
|
reCalculateRoot(value, true); |
|
|
|
// widthPane.setValue((int)(widthPane.getValue() * times));
|
|
|
|
JTemplate form = HistoryTemplateListPane.getInstance().getCurrentEditingTemplate(); |
|
|
|
changeWidthPaneValue((int)(widthPane.getValue() * times)); |
|
|
|
if (form != null) { |
|
|
|
changeHeightPaneValue((int)(heightPane.getValue() * times)); |
|
|
|
form.fireTargetModified(); |
|
|
|
// reCalculateRoot(value, true);
|
|
|
|
} |
|
|
|
// JTemplate form = HistoryTemplateListPane.getInstance().getCurrentEditingTemplate();
|
|
|
|
|
|
|
|
// if (form != null) {
|
|
|
|
|
|
|
|
// form.fireTargetModified();
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|