[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Thu Nov 18 01:15:32 CET 2004
CVS commit by staikos:
increase precision of plot axis values, approved for 1.0 by Andrew
M +6 -6 kstplotdialog_i.cpp 1.112
--- kdeextragear-2/kst/kst/kstplotdialog_i.cpp #1.111:1.112
@@ -364,11 +364,11 @@ void KstPlotDialogI::update(int new_inde
plot->getScale(xmin, ymin, xmax, ymax);
- XFixedMin->setText(QString::number(xmin));
- XFixedMax->setText(QString::number(xmax));
- YFixedMin->setText(QString::number(ymin));
- YFixedMax->setText(QString::number(ymax));
+ XFixedMin->setText(QString::number(xmin, 'g', 16));
+ XFixedMax->setText(QString::number(xmax, 'g', 16));
+ YFixedMin->setText(QString::number(ymin, 'g', 16));
+ YFixedMax->setText(QString::number(ymax, 'g', 16));
- XACRange->setText(QString::number(xmax - xmin));
- YACRange->setText(QString::number(ymax - ymin));
+ XACRange->setText(QString::number(xmax - xmin, 'g', 16));
+ YACRange->setText(QString::number(ymax - ymin, 'g', 16));
switch (plot->xScaleMode()) {
More information about the Kst
mailing list