Index: src/sas/qtgui/Perspectives/Inversion/UI/DMaxExplorer.ui
===================================================================
--- src/sas/qtgui/Perspectives/Inversion/UI/DMaxExplorer.ui	(revision fa81e94af983227efded2314c2c544f98e2c56ba)
+++ src/sas/qtgui/Perspectives/Inversion/UI/DMaxExplorer.ui	(revision 8f83719fd67e6a72acdcd666e7bf1e2326b52cd0)
@@ -7,6 +7,6 @@
     <x>0</x>
     <y>0</y>
-    <width>609</width>
-    <height>524</height>
+    <width>394</width>
+    <height>426</height>
    </rect>
   </property>
@@ -14,5 +14,5 @@
    <string>Dialog</string>
   </property>
-  <layout class="QGridLayout" name="gridLayout_2">
+  <layout class="QGridLayout" name="gridLayout_3">
    <item row="0" column="0">
     <layout class="QVBoxLayout" name="verticalLayout">
@@ -25,5 +25,5 @@
         <size>
          <width>20</width>
-         <height>40</height>
+         <height>305</height>
         </size>
        </property>
@@ -32,86 +32,124 @@
      <item>
       <layout class="QGridLayout" name="gridLayout">
-       <item row="1" column="2">
-        <widget class="QLabel" name="label_4">
-         <property name="text">
-          <string>Max Distance [â«]</string>
-         </property>
-        </widget>
-       </item>
-       <item row="1" column="3">
-        <widget class="QLineEdit" name="maxDist"/>
-       </item>
-       <item row="0" column="2">
-        <widget class="QLabel" name="label_2">
-         <property name="text">
-          <string>Npts</string>
-         </property>
-        </widget>
-       </item>
-       <item row="0" column="3">
-        <widget class="QLineEdit" name="Npts"/>
-       </item>
        <item row="0" column="0">
-        <widget class="QLabel" name="label">
-         <property name="text">
-          <string>Dependent Variable:</string>
-         </property>
-        </widget>
-       </item>
-       <item row="1" column="1">
-        <widget class="QLineEdit" name="minDist"/>
-       </item>
-       <item row="0" column="1">
-        <widget class="QComboBox" name="dependentVariable">
+        <layout class="QHBoxLayout" name="horizontalLayout_3">
          <item>
-          <property name="text">
-           <string>1-Ï positive fraction</string>
-          </property>
+          <widget class="QLabel" name="label">
+           <property name="text">
+            <string>Dependent Variable:</string>
+           </property>
+          </widget>
          </item>
          <item>
-          <property name="text">
-           <string>ÏÂ²/dof</string>
-          </property>
+          <widget class="QComboBox" name="dependentVariable">
+           <item>
+            <property name="text">
+             <string>1-Ï positive fraction</string>
+            </property>
+           </item>
+           <item>
+            <property name="text">
+             <string>ÏÂ²/dof</string>
+            </property>
+           </item>
+           <item>
+            <property name="text">
+             <string>I(Q=0)</string>
+            </property>
+           </item>
+           <item>
+            <property name="text">
+             <string>Rg</string>
+            </property>
+           </item>
+           <item>
+            <property name="text">
+             <string>Oscillation parameter</string>
+            </property>
+           </item>
+           <item>
+            <property name="text">
+             <string>Background</string>
+            </property>
+           </item>
+           <item>
+            <property name="text">
+             <string>Positive Fraction</string>
+            </property>
+           </item>
+          </widget>
          </item>
          <item>
-          <property name="text">
-           <string>I(Q=0)</string>
-          </property>
+          <spacer name="horizontalSpacer_2">
+           <property name="orientation">
+            <enum>Qt::Horizontal</enum>
+           </property>
+           <property name="sizeHint" stdset="0">
+            <size>
+             <width>40</width>
+             <height>20</height>
+            </size>
+           </property>
+          </spacer>
+         </item>
+        </layout>
+       </item>
+       <item row="1" column="0">
+        <layout class="QHBoxLayout" name="horizontalLayout_2">
+         <item>
+          <widget class="QLabel" name="label_2">
+           <property name="text">
+            <string>Npts</string>
+           </property>
+          </widget>
          </item>
          <item>
-          <property name="text">
-           <string>Rg</string>
-          </property>
+          <widget class="QLineEdit" name="Npts"/>
          </item>
          <item>
-          <property name="text">
-           <string>Oscillation parameter</string>
-          </property>
+          <widget class="QLabel" name="label_3">
+           <property name="text">
+            <string>Min Distance [â«]</string>
+           </property>
+          </widget>
          </item>
          <item>
-          <property name="text">
-           <string>Background</string>
-          </property>
+          <widget class="QLineEdit" name="minDist"/>
          </item>
          <item>
-          <property name="text">
-           <string>Positive Fraction</string>
-          </property>
+          <widget class="QLabel" name="label_4">
+           <property name="text">
+            <string>Max Distance [â«]</string>
+           </property>
+          </widget>
          </item>
-        </widget>
+         <item>
+          <widget class="QLineEdit" name="maxDist"/>
+         </item>
+        </layout>
        </item>
-       <item row="1" column="0">
-        <widget class="QLabel" name="label_3">
-         <property name="text">
-          <string>Min Distance [â«]</string>
-         </property>
-        </widget>
-       </item>
-       <item row="2" column="0" colspan="4">
-        <widget class="QPushButton" name="closeButton">
-         <property name="text">
-          <string>Close</string>
-         </property>
-        </widget>
+       <item row="2" column="0">
+        <layout class="QHBoxLayout" name="horizontalLayout">
+         <item>
+          <spacer name="horizontalSpacer">
+           <property name="orientation">
+            <enum>Qt::Horizontal</enum>
+           </property>
+           <property name="sizeHint" stdset="0">
+            <size>
+             <width>40</width>
+             <height>20</height>
+            </size>
+           </property>
+          </spacer>
+         </item>
+         <item>
+          <widget class="QPushButton" name="closeButton">
+           <property name="text">
+            <string>Close</string>
+           </property>
+          </widget>
+         </item>
+        </layout>
        </item>
       </layout>
