[Kst] branches/work/kst/portto4/kst/src
Peter Kümmel
syntheticpp at gmx.net
Tue Aug 31 17:35:11 CEST 2010
SVN commit 1170339 by kuemmel:
limit vector selector width only for curve dialog
M +8 -0 libkstapp/curvedialog.cpp
M +1 -1 widgets/vectorselector.ui
--- branches/work/kst/portto4/kst/src/libkstapp/curvedialog.cpp #1170338:1170339
@@ -54,6 +54,14 @@
_xVector->setIsX(true);
+ int maxComboWidth = 200;
+ _xVector->setMaximumWidth(maxComboWidth);
+ _yVector->setMaximumWidth(maxComboWidth);
+ _xError->setMaximumWidth(maxComboWidth);
+ _yError->setMaximumWidth(maxComboWidth);
+ _xMinusError->setMaximumWidth(maxComboWidth);
+ _yMinusError->setMaximumWidth(maxComboWidth);
+
connect(_xVector, SIGNAL(selectionChanged(QString)), this, SIGNAL(vectorsChanged()));
connect(_yVector, SIGNAL(selectionChanged(QString)), this, SIGNAL(vectorsChanged()));
connect(_xMinusSameAsPlus, SIGNAL(toggled(bool)), this, SLOT(xCheckboxClicked()));
--- branches/work/kst/portto4/kst/src/widgets/vectorselector.ui #1170338:1170339
@@ -24,7 +24,7 @@
<widget class="Kst::ComboBox" name="_vector">
<property name="maximumSize">
<size>
- <width>200</width>
+ <width>16777215</width>
<height>16777215</height>
</size>
</property>
More information about the Kst
mailing list