Browse Source

Merge pull request #369 in BA/design from ~KERRY/design:dev to dev

* commit 'd2e20d9f5c05f7a563da13063f702bc829c2ef7e':
  REPORT-407 英文设计器布局不合理,文字显示不全
master
superman 8 years ago
parent
commit
6746d790ab
  1. 2
      designer_form/src/com/fr/design/mainframe/FormParaWidgetPane.java

2
designer_form/src/com/fr/design/mainframe/FormParaWidgetPane.java

@ -192,7 +192,7 @@ public class FormParaWidgetPane extends JPanel{
} }
labelPane.add(label,BorderLayout.CENTER); labelPane.add(label,BorderLayout.CENTER);
reportPane.add(labelPane,BorderLayout.SOUTH); reportPane.add(labelPane,BorderLayout.SOUTH);
reportPane.setPreferredSize(new Dimension((int)jComponent.getPreferredSize().getWidth(),(int)reportPane.getPreferredSize().getHeight())); reportPane.setPreferredSize(new Dimension((int)reportPane.getPreferredSize().getWidth(),(int)reportPane.getPreferredSize().getHeight()));
return reportPane; return reportPane;
} }

Loading…
Cancel
Save