Browse Source

REPORT-52539 组件生成面板出现横向滚动条

feature/10.0
kuangshuai 4 years ago
parent
commit
316caa1369
  1. 2
      designer-realize/src/main/java/com/fr/design/share/ui/generate/ShareGeneratePane.java
  2. 2
      designer-realize/src/main/java/com/fr/design/share/ui/generate/ShareMainPane.java

2
designer-realize/src/main/java/com/fr/design/share/ui/generate/ShareGeneratePane.java

@ -57,7 +57,7 @@ import static javax.swing.JOptionPane.ERROR_MESSAGE;
public class ShareGeneratePane extends BasicPane {
private static final Dimension DIALOG_SIZE = new Dimension(670, 740);
private static final Dimension DIALOG_NORMAL_SIZE = new Dimension(660, 610);
private static final Dimension DIALOG_NORMAL_SIZE = new Dimension(670, 610);
private static final Border DIALOG_BORDER = BorderFactory.createEmptyBorder(0, 6, 4, 6);
private JPanel mainPane = null;

2
designer-realize/src/main/java/com/fr/design/share/ui/generate/ShareMainPane.java

@ -85,7 +85,7 @@ import static javax.swing.JOptionPane.ERROR_MESSAGE;
public class ShareMainPane extends JPanel {
private static final int COLUMN_ITEM_SIZE = 60;
private static final int COLUMN_FIELD_WIDTH = 560;
private static final int COLUMN_FIELD_WIDTH = 555;
private static final int TEXT_FIELD_WIDTH = 160;
private static final int TEXT_FIELD_HEIGHT = 21;
private static final int NAME_MAX_LENGTH = 50;

Loading…
Cancel
Save