Index: ui/settingsdialog.ui
===================================================================
--- ui/settingsdialog.ui	(revision 2fcdd7bfdfbde1e2882493bd3148514a06a78f8e)
+++ ui/settingsdialog.ui	(revision 6652ac66a43565ed48903483a7291335138a7086)
@@ -320,10 +320,7 @@
             </item>
             <item>
-             <layout class="QHBoxLayout" name="_10">
-              <property name="spacing">
-               <number>5</number>
-              </property>
-              <item>
-               <spacer name="spacer_7">
+             <layout class="QHBoxLayout" name="_16">
+              <item>
+               <spacer name="spacer_10">
                 <property name="orientation">
                  <enum>Qt::Horizontal</enum>
@@ -341,7 +338,10 @@
               </item>
               <item>
-               <widget class="QLabel" name="labelGraphImageFormat">
+               <widget class="QLabel" name="labelGraphWidth">
+                <property name="statusTip">
+                 <string>Defines width of graph in solution output</string>
+                </property>
                 <property name="text">
-                 <string>Save solution graph as</string>
+                 <string>Solution graph width:</string>
                 </property>
                 <property name="buddy">
@@ -351,15 +351,27 @@
               </item>
               <item>
-               <widget class="QComboBox" name="comboGraphImageFormat">
+               <widget class="QDoubleSpinBox" name="spinGraphWidth">
                 <property name="cursor">
                  <cursorShape>PointingHandCursor</cursorShape>
                 </property>
                 <property name="statusTip">
-                 <string>What image format to use for graph when saving solution as HTML</string>
-                </property>
-               </widget>
-              </item>
-              <item>
-               <spacer name="spacer_11">
+                 <string>Defines width of graph in solution output</string>
+                </property>
+                <property name="suffix">
+                 <string> cm</string>
+                </property>
+                <property name="minimum">
+                 <double>2.250000000000000</double>
+                </property>
+                <property name="maximum">
+                 <double>18.000000000000000</double>
+                </property>
+                <property name="singleStep">
+                 <double>0.100000000000000</double>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <spacer name="spacer_12">
                 <property name="orientation">
                  <enum>Qt::Horizontal</enum>
@@ -376,7 +388,7 @@
             </item>
             <item>
-             <layout class="QHBoxLayout" name="_14">
-              <item>
-               <spacer name="spacer_8">
+             <layout class="QHBoxLayout" name="_10">
+              <item>
+               <spacer name="spacer_7">
                 <property name="orientation">
                  <enum>Qt::Horizontal</enum>
@@ -394,4 +406,60 @@
               </item>
               <item>
+               <widget class="QLabel" name="labelGraphImageFormat">
+                <property name="statusTip">
+                 <string>What image format to use for graph when saving solution as HTML</string>
+                </property>
+                <property name="text">
+                 <string>Save solution graph as</string>
+                </property>
+                <property name="buddy">
+                 <cstring>comboGraphImageFormat</cstring>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <widget class="QComboBox" name="comboGraphImageFormat">
+                <property name="cursor">
+                 <cursorShape>PointingHandCursor</cursorShape>
+                </property>
+                <property name="statusTip">
+                 <string>What image format to use for graph when saving solution as HTML</string>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <spacer name="spacer_11">
+                <property name="orientation">
+                 <enum>Qt::Horizontal</enum>
+                </property>
+                <property name="sizeHint" stdset="0">
+                 <size>
+                  <width>1</width>
+                  <height>0</height>
+                 </size>
+                </property>
+               </spacer>
+              </item>
+             </layout>
+            </item>
+            <item>
+             <layout class="QHBoxLayout" name="_14">
+              <item>
+               <spacer name="spacer_8">
+                <property name="orientation">
+                 <enum>Qt::Horizontal</enum>
+                </property>
+                <property name="sizeType">
+                 <enum>QSizePolicy::Fixed</enum>
+                </property>
+                <property name="sizeHint" stdset="0">
+                 <size>
+                  <width>10</width>
+                  <height>0</height>
+                 </size>
+                </property>
+               </spacer>
+              </item>
+              <item>
                <widget class="QCheckBox" name="cbEmbedGraphIntoHTML">
                 <property name="cursor">
@@ -423,7 +491,4 @@
             <item>
              <layout class="QHBoxLayout" name="_12">
-              <property name="spacing">
-               <number>0</number>
-              </property>
               <item>
                <spacer name="spacer_3">
@@ -936,4 +1001,36 @@
    </hints>
   </connection>
+  <connection>
+   <sender>cbGenerateGraph</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>labelGraphWidth</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>157</x>
+     <y>84</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>100</x>
+     <y>147</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>cbGenerateGraph</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>spinGraphWidth</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>157</x>
+     <y>84</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>212</x>
+     <y>147</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
 </ui>
