Fixed display sizes for X-Windows
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / platform / ui / FpdPlatformDefs.java
index 64201b5aa53f769de00838b1e58baf35cd7d448c..454df225e153e6171fdde63bb74b4e915d46bc8f 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