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

Peter Kümmel syntheticpp at gmx.net
Tue Aug 31 16:09:04 CEST 2010


SVN commit 1170317 by kuemmel:

Set maximum width of VectorSelector's combobox (200).
Complete name is not shown in the menu but when selected as tooltip.

 M  +9 -2      vectorselector.ui  


--- branches/work/kst/portto4/kst/src/widgets/vectorselector.ui #1170316:1170317
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <ui version="4.0" >
  <class>VectorSelector</class>
  <widget class="QWidget" name="VectorSelector" >
@@ -21,6 +22,12 @@
    </property>
    <item>
     <widget class="Kst::ComboBox" name="_vector" >
+     <property name="maximumSize">
+      <size>
+       <width>200</width>
+       <height>16777215</height>
+      </size>
+     </property>
      <item>
       <property name="text" >
        <string>M</string>
@@ -31,7 +38,7 @@
    <item>
     <widget class="QToolButton" name="_newVector" >
      <property name="sizePolicy" >
-      <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
+      <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
@@ -53,7 +60,7 @@
       <bool>false</bool>
      </property>
      <property name="sizePolicy" >
-      <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
+      <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>


More information about the Kst mailing list