Fixed display sizes for X-Windows
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 28 Sep 2006 19:01:24 +0000 (19:01 +0000)
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 28 Sep 2006 19:01:24 +0000 (19:01 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1639 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdBuildOptions.java
Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdPlatformDefs.java

index c79d772..12058aa 100644 (file)
@@ -364,7 +364,7 @@ public class FpdBuildOptions extends IInternalFrame {
         if (jTabbedPane == null) {\r
             jTabbedPane = new JTabbedPane();\r
             jTabbedPane.addTab("Flash Filesystem Options", null, getJPanelFfsTab(), null);\r
-            jTabbedPane.addTab("Tool Arguments", null, getJPanelOptionsTab(), null);\r
+            jTabbedPane.addTab("Customize Tool Chain Configurations", null, getJPanelOptionsTab(), null);\r
             jTabbedPane.addTab("User Defined ANT Tasks", null, getJPanelUserDef(), null);\r
         }\r
         return jTabbedPane;\r
@@ -407,7 +407,7 @@ public class FpdBuildOptions extends IInternalFrame {
     private JPanel getJPanelTableOptionsContainer() {\r
         if (jPanelTableOptionsContainer == null) {\r
             jLabelTableOptionsTitle = new JLabel();\r
-            jLabelTableOptionsTitle.setText("  Current Option Configuration Lines");\r
+            jLabelTableOptionsTitle.setText("  Current Argument Lines");\r
             jPanelTableOptionsContainer = new JPanel();\r
             jPanelTableOptionsContainer.setLayout(new BorderLayout());\r
             jPanelTableOptionsContainer.add(jLabelTableOptionsTitle, java.awt.BorderLayout.NORTH);\r
@@ -1426,7 +1426,7 @@ public class FpdBuildOptions extends IInternalFrame {
             jLabelOptionContents = new JLabel();\r
             jLabelOptionContents.setBounds(new java.awt.Rectangle(labelColumn, rowSix, labelWidth, oneRowHeight));\r
             jLabelOptionContents.setLocation(new java.awt.Point(labelColumn, rowSix));\r
-            jLabelOptionContents.setText("Option Contents");\r
+            jLabelOptionContents.setText("Argument Strings");\r
 \r
             jPanelOptionsContainer = new JPanel();\r
 \r
@@ -1758,7 +1758,7 @@ public class FpdBuildOptions extends IInternalFrame {
             optionsTableModel.addColumn("Supported Architectures");\r
             optionsTableModel.addColumn("Tool Command Code");\r
             optionsTableModel.addColumn("TagName");\r
-            optionsTableModel.addColumn("Contents");\r
+            optionsTableModel.addColumn("Arguments");\r
 \r
             javax.swing.table.TableColumn toolFamilyCol = jTableOptions.getColumnModel().getColumn(1);\r
             JComboBox cb = new JComboBox();\r
index 64201b5..454df22 100644 (file)
@@ -61,6 +61,8 @@ public class FpdPlatformDefs extends IInternalFrame {
 \r
     //    private final int sepWidth = 10;\r
 \r
+    private final int offsetWidth = 70;\r
+\r
     private final int buttonWidth = 90;\r
 \r
     private final int rowOne = 12;\r
@@ -963,8 +965,8 @@ public class FpdPlatformDefs extends IInternalFrame {
         if (jComboBoxInterDir == null) {\r
             jComboBoxInterDir = new JComboBox();\r
             jComboBoxInterDir.setPreferredSize(new Dimension(75, oneRowHeight));\r
-            jComboBoxInterDir.setBounds(new java.awt.Rectangle(valueColumn + 30, rowEleven, 75, oneRowHeight));\r
-            jComboBoxInterDir.setLocation(new java.awt.Point(valueColumn + 30, rowEleven));\r
+            jComboBoxInterDir.setBounds(new java.awt.Rectangle(valueColumn + offsetWidth, rowEleven, 95, oneRowHeight));\r
+            jComboBoxInterDir.setLocation(new java.awt.Point(valueColumn + offsetWidth, rowEleven));\r
             jComboBoxInterDir.addItem("UNIFIED");\r
             jComboBoxInterDir.addItem("MODULE");\r
             jComboBoxInterDir.setSelectedIndex(0);\r
@@ -993,9 +995,9 @@ public class FpdPlatformDefs extends IInternalFrame {
         if (jTextFieldOutputDir == null) {\r
             jTextFieldOutputDir = new JTextField();\r
             jTextFieldOutputDir.setPreferredSize(new java.awt.Dimension(290, 20));\r
-            jTextFieldOutputDir.setBounds(new java.awt.Rectangle(valueColumn + 30, rowTwelve, valueWidth - 30,\r
+            jTextFieldOutputDir.setBounds(new java.awt.Rectangle(valueColumn + offsetWidth, rowTwelve, valueWidth - 30,\r
                                                                  oneRowHeight));\r
-            jTextFieldOutputDir.setLocation(new java.awt.Point(valueColumn + 30, rowTwelve));\r
+            jTextFieldOutputDir.setLocation(new java.awt.Point(valueColumn + offsetWidth, rowTwelve));\r
             jTextFieldOutputDir.setToolTipText("Select the name or URL for the output directory tree.");\r
             jTextFieldOutputDir.addFocusListener(new java.awt.event.FocusAdapter() {\r
                 public void focusLost(java.awt.event.FocusEvent e) {\r