* ./hurricane/src/hviewer:

- Change: In CellWidget, Ruler again, no more negative ticks.
This commit is contained in:
Jean-Paul Chaput 2010-01-27 12:07:51 +00:00
parent ca270f2396
commit bdad551e30
1 changed files with 2 additions and 2 deletions

View File

@ -1904,7 +1904,7 @@ namespace Hurricane {
// if ( !tick ) continue;
textGrad = DbU::getValueString( gradStep*tick
textGrad = DbU::getValueString( abs(gradStep*tick)
, DbU::SmartTruncate|((symbolicMode())?DbU::Symbolic:DbU::Grid) );
textGrad.resize ( textGrad.size()-((*textGrad.rbegin()=='m')?2:1) );
@ -1964,7 +1964,7 @@ namespace Hurricane {
// if ( !tick ) continue;
textGrad = DbU::getValueString( gradStep*tick
textGrad = DbU::getValueString( abs(gradStep*tick)
, DbU::SmartTruncate|((symbolicMode())?DbU::Symbolic:DbU::Grid) );
textGrad.resize ( textGrad.size()-((*textGrad.rbegin()=='m')?2:1) );