diff --git a/common/preview_items/ruler_item.cpp b/common/preview_items/ruler_item.cpp index 2442a17c16..21c24da43b 100644 --- a/common/preview_items/ruler_item.cpp +++ b/common/preview_items/ruler_item.cpp @@ -45,6 +45,9 @@ static void drawCursorStrings( KIGFX::VIEW* aView, const VECTOR2D& aCursor, // draw the cursor labels std::vector cursorStrings; + cursorStrings.push_back( DimensionLabel( "x", aRulerVec.x, aUnits ) ); + cursorStrings.push_back( DimensionLabel( "y", aRulerVec.y, aUnits ) ); + cursorStrings.push_back( DimensionLabel( "r", aRulerVec.EuclideanNorm(), aUnits ) ); double degs = RAD2DECIDEG( -aRulerVec.Angle() );