* ./hurricane/src/hviewer:
- Change: In CellWidget, Ruler again, no more negative ticks.
This commit is contained in:
parent
ca270f2396
commit
bdad551e30
|
@ -1904,7 +1904,7 @@ namespace Hurricane {
|
||||||
|
|
||||||
// if ( !tick ) continue;
|
// if ( !tick ) continue;
|
||||||
|
|
||||||
textGrad = DbU::getValueString( gradStep*tick
|
textGrad = DbU::getValueString( abs(gradStep*tick)
|
||||||
, DbU::SmartTruncate|((symbolicMode())?DbU::Symbolic:DbU::Grid) );
|
, DbU::SmartTruncate|((symbolicMode())?DbU::Symbolic:DbU::Grid) );
|
||||||
textGrad.resize ( textGrad.size()-((*textGrad.rbegin()=='m')?2:1) );
|
textGrad.resize ( textGrad.size()-((*textGrad.rbegin()=='m')?2:1) );
|
||||||
|
|
||||||
|
@ -1964,7 +1964,7 @@ namespace Hurricane {
|
||||||
|
|
||||||
// if ( !tick ) continue;
|
// if ( !tick ) continue;
|
||||||
|
|
||||||
textGrad = DbU::getValueString( gradStep*tick
|
textGrad = DbU::getValueString( abs(gradStep*tick)
|
||||||
, DbU::SmartTruncate|((symbolicMode())?DbU::Symbolic:DbU::Grid) );
|
, DbU::SmartTruncate|((symbolicMode())?DbU::Symbolic:DbU::Grid) );
|
||||||
textGrad.resize ( textGrad.size()-((*textGrad.rbegin()=='m')?2:1) );
|
textGrad.resize ( textGrad.size()-((*textGrad.rbegin()=='m')?2:1) );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue