MoMeak 7 years ago
parent
commit
bfbe166ed8
  1. 4
      designer_base/src/com/fr/design/present/dict/DatabaseDictPane.java

4
designer_base/src/com/fr/design/present/dict/DatabaseDictPane.java

@ -37,7 +37,7 @@ public class DatabaseDictPane extends FurtherBasicBeanPane<DatabaseDictionary> i
/** /**
* richer:数据字典和数据链面板 * richer:数据字典和数据链面板
*/ */
private static final int SMALL_WDITH = 150; private static final int GAP_HUGER = 32;
protected com.fr.data.impl.Connection database; protected com.fr.data.impl.Connection database;
protected DoubleDeckValueEditorPane keyColumnPane; protected DoubleDeckValueEditorPane keyColumnPane;
protected DoubleDeckValueEditorPane valueDictPane; protected DoubleDeckValueEditorPane valueDictPane;
@ -80,7 +80,7 @@ public class DatabaseDictPane extends FurtherBasicBeanPane<DatabaseDictionary> i
new Component[]{new UILabel(Inter.getLocText("FR-Designer_Actual_Value"), UILabel.LEFT), keyColumnPane}, new Component[]{new UILabel(Inter.getLocText("FR-Designer_Actual_Value"), UILabel.LEFT), keyColumnPane},
new Component[]{new UILabel(Inter.getLocText("FR-Designer_Display_Value"), UILabel.LEFT), valueDictPane} new Component[]{new UILabel(Inter.getLocText("FR-Designer_Display_Value"), UILabel.LEFT), valueDictPane}
}; };
JPanel dbDictPanel = TableLayoutHelper.createGapTableLayoutPane(components, rowSize, columnSize, rowCount, 32, LayoutConstants.VGAP_LARGE); JPanel dbDictPanel = TableLayoutHelper.createGapTableLayoutPane(components, rowSize, columnSize, rowCount, GAP_HUGER, LayoutConstants.VGAP_LARGE);
this.setLayout(new BorderLayout(0, 4)); this.setLayout(new BorderLayout(0, 4));
this.add(chooseTable, BorderLayout.NORTH); this.add(chooseTable, BorderLayout.NORTH);
this.add(dbDictPanel, BorderLayout.CENTER); this.add(dbDictPanel, BorderLayout.CENTER);

Loading…
Cancel
Save