Browse Source

修改备注

master
MoMeak 7 years ago
parent
commit
cb043f5712
  1. 2
      designer/src/com/fr/design/mainframe/JWorkBook.java
  2. 2
      designer/src/com/fr/design/mainframe/form/FormReportComponentComposite.java

2
designer/src/com/fr/design/mainframe/JWorkBook.java

@ -365,7 +365,7 @@ public class JWorkBook extends JTemplate<WorkBook, WorkBookUndoState> {
ElementCasePane elementCasePane = reportComposite.centerCardPane.editingComponet.elementCasePane; ElementCasePane elementCasePane = reportComposite.centerCardPane.editingComponet.elementCasePane;
PolyDesigner polyDezi = reportComposite.centerCardPane.getPolyDezi(); PolyDesigner polyDezi = reportComposite.centerCardPane.getPolyDezi();
if (elementCasePane != null) { if (elementCasePane != null) {
//分页线 //网格线
if (resolution < ScreenResolution.getScreenResolution() * MIN_TIME) { if (resolution < ScreenResolution.getScreenResolution() * MIN_TIME) {
elementCasePane.getGrid().setShowGridLine(false); elementCasePane.getGrid().setShowGridLine(false);
} else { } else {

2
designer/src/com/fr/design/mainframe/form/FormReportComponentComposite.java

@ -113,7 +113,7 @@ public class FormReportComponentComposite extends JComponent implements TargetMo
private void setScale(int resolution) { private void setScale(int resolution) {
ElementCasePane elementCasePane = elementCaseDesigner.getEditingElementCasePane(); ElementCasePane elementCasePane = elementCaseDesigner.getEditingElementCasePane();
//分页线 //网格线
if (resolution < ScreenResolution.getScreenResolution() * MIN_TIME) { if (resolution < ScreenResolution.getScreenResolution() * MIN_TIME) {
elementCasePane.getGrid().setShowGridLine(false); elementCasePane.getGrid().setShowGridLine(false);
} else { } else {

Loading…
Cancel
Save