Commit ee749988 authored by jean-pierre charras's avatar jean-pierre charras

Pl_Editor: fix a very minor issue when displaying the page size in status bar.

parent 28cd9963
...@@ -416,14 +416,14 @@ void PL_EDITOR_FRAME::UpdateStatusBar() ...@@ -416,14 +416,14 @@ void PL_EDITOR_FRAME::UpdateStatusBar()
{ {
case INCHES: // Should not be used in page layout editor case INCHES: // Should not be used in page layout editor
SetStatusText( _("inches"), 5 ); SetStatusText( _("inches"), 5 );
pagesizeformatter = wxT( "Page size: width %.4g height %.4g" ); pagesizeformatter = wxT( "Page size: width %4g height %4g" );
absformatter = wxT( "X %.4g Y %.4g" ); absformatter = wxT( "X %.4g Y %.4g" );
locformatter = wxT( "dx %.4g dy %.4g" ); locformatter = wxT( "dx %.4g dy %.4g" );
break; break;
case MILLIMETRES: case MILLIMETRES:
SetStatusText( _("mm"), 5 ); SetStatusText( _("mm"), 5 );
pagesizeformatter = wxT( "Page size: width %.3g height %.3g" ); pagesizeformatter = wxT( "Page size: width %3g height %3g" );
absformatter = wxT( "X %.3g Y %.3g" ); absformatter = wxT( "X %.3g Y %.3g" );
locformatter = wxT( "dx %.3g dy %.3g" ); locformatter = wxT( "dx %.3g dy %.3g" );
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment