[Kst] branches/work/kst/portto4/kst/src/widgets

Mike Fenton mike at staikos.net
Tue Feb 5 21:13:39 CET 2008


SVN commit 771380 by fenton:

Limit max size for selectors.


 M  +7 -1      matrixselector.ui  
 M  +7 -1      scalarselector.ui  
 M  +7 -1      stringselector.ui  
 M  +15 -2     vectorselector.ui  


--- branches/work/kst/portto4/kst/src/widgets/matrixselector.ui #771379:771380
@@ -5,10 +5,16 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>137</width>
+    <width>300</width>
     <height>25</height>
    </rect>
   </property>
+  <property name="maximumSize" >
+   <size>
+    <width>300</width>
+    <height>16777215</height>
+   </size>
+  </property>
   <property name="whatsThis" >
    <string>Select a matrix to utilize.  If you wish to create a new matrix, click on the icon to the right.</string>
   </property>
--- branches/work/kst/portto4/kst/src/widgets/scalarselector.ui #771379:771380
@@ -5,10 +5,16 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>168</width>
+    <width>300</width>
     <height>25</height>
    </rect>
   </property>
+  <property name="maximumSize" >
+   <size>
+    <width>300</width>
+    <height>16777215</height>
+   </size>
+  </property>
   <property name="whatsThis" >
    <string>Select a scalar to utilize.  If you wish to create a new scalar, select the icon to the right.</string>
   </property>
--- branches/work/kst/portto4/kst/src/widgets/stringselector.ui #771379:771380
@@ -5,10 +5,16 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>168</width>
+    <width>300</width>
     <height>25</height>
    </rect>
   </property>
+  <property name="maximumSize" >
+   <size>
+    <width>300</width>
+    <height>16777215</height>
+   </size>
+  </property>
   <property name="whatsThis" >
    <string>Select a string to utilize.  If you wish to create a new string, select the icon to the right.</string>
   </property>
--- branches/work/kst/portto4/kst/src/widgets/vectorselector.ui #771379:771380
@@ -5,7 +5,7 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>137</width>
+    <width>318</width>
     <height>25</height>
    </rect>
   </property>
@@ -26,7 +26,20 @@
     <number>0</number>
    </property>
    <item>
-    <widget class="Kst::ComboBox" name="_vector" />
+    <widget class="Kst::ComboBox" name="_vector" >
+     <property name="sizePolicy" >
+      <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
+     <property name="maximumSize" >
+      <size>
+       <width>300</width>
+       <height>72</height>
+      </size>
+     </property>
+    </widget>
    </item>
    <item>
     <widget class="QToolButton" name="_newVector" >


More information about the Kst mailing list