]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/packaging/ui/SpdPcdDefs.java
Remove all recommended lib instances logic in SpdLibClassDecls.java as recommmended...
[mirror_edk2.git] / Tools / Java / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / packaging / ui / SpdPcdDefs.java
index 902cd26fcdc0475d35f188ef8cd563ff6fdf27f5..dade7ca3dc82fce567c301f8db1b7cf3852b58d5 100644 (file)
@@ -152,6 +152,16 @@ public class SpdPcdDefs extends IInternalFrame implements TableModelListener{
     private JLabel jLabelSupMod = null;\r
 \r
     private JLabel jLabelSupArch = null;\r
+    \r
+    private final int pcdCNameMinWidth = 200;\r
+    private final int pcdTokenMinWidth = 100;\r
+    private final int pcdTokenSpaceMinWidth = 200;\r
+    private final int datumTypeMinWidth = 80;\r
+    private final int defaultValueMinWidth = 100;\r
+    private final int helpTextMinWidth = 200;\r
+    private final int usageMinWidth = 60;\r
+    private final int supArchMinWidth = 200;\r
+    private final int supModMinWidth = 200;\r
 \r
     /**\r
      This method initializes this\r
@@ -678,6 +688,33 @@ public class SpdPcdDefs extends IInternalFrame implements TableModelListener{
             model.addColumn("SupportedArch");\r
             model.addColumn("SupportedModule");\r
             \r
+            TableColumn column = jTable.getColumnModel().getColumn(0);\r
+            column.setMinWidth(this.pcdCNameMinWidth);\r
+            column = jTable.getColumnModel().getColumn(1);\r
+            column.setMinWidth(this.pcdTokenMinWidth);\r
+            column = jTable.getColumnModel().getColumn(2);\r
+            column.setMinWidth(this.pcdTokenSpaceMinWidth);\r
+            column = jTable.getColumnModel().getColumn(3);\r
+            column.setMinWidth(this.datumTypeMinWidth);\r
+            column = jTable.getColumnModel().getColumn(4);\r
+            column.setMinWidth(this.defaultValueMinWidth);\r
+            column = jTable.getColumnModel().getColumn(5);\r
+            column.setMinWidth(this.helpTextMinWidth);\r
+            column = jTable.getColumnModel().getColumn(6);\r
+            column.setMinWidth(this.usageMinWidth);\r
+            column = jTable.getColumnModel().getColumn(7);\r
+            column.setMinWidth(this.usageMinWidth);\r
+            column = jTable.getColumnModel().getColumn(8);\r
+            column.setMinWidth(this.usageMinWidth);\r
+            column = jTable.getColumnModel().getColumn(9);\r
+            column.setMinWidth(this.usageMinWidth);\r
+            column = jTable.getColumnModel().getColumn(10);\r
+            column.setMinWidth(this.usageMinWidth);\r
+            column = jTable.getColumnModel().getColumn(11);\r
+            column.setMinWidth(this.supArchMinWidth);\r
+            column = jTable.getColumnModel().getColumn(12);\r
+            column.setMinWidth(this.supModMinWidth);\r
+            \r
             //ToDo: add a valid usage editor\r
             \r
             JComboBox jComboBoxDataType = new JComboBox();\r