Skip to content

Commit

Permalink
[need-docs] reduce width of the meters (at map scale) unit label (#6034)
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn authored Jan 12, 2018
1 parent 796b8cc commit d6ef2b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/qgsunittypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1761,7 +1761,7 @@ QString QgsUnitTypes::toString( QgsUnitTypes::RenderUnit unit )
return QObject::tr( "millimeters", "render" );

case RenderMetersInMapUnits:
return QObject::tr( "meters (at map scale)", "render" );
return QObject::tr( "meters at scale", "render" );

case RenderMapUnits:
return QObject::tr( "map units", "render" );
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsunitselectionwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void QgsUnitSelectionWidget::setUnits( const QgsUnitTypes::RenderUnitList &units
}
if ( units.contains( QgsUnitTypes::RenderMetersInMapUnits ) )
{
mUnitCombo->addItem( tr( "Meters (at Map Scale)" ), QgsUnitTypes::RenderMetersInMapUnits );
mUnitCombo->addItem( tr( "Meters at Scale" ), QgsUnitTypes::RenderMetersInMapUnits );
}
if ( units.contains( QgsUnitTypes::RenderMapUnits ) )
{
Expand Down

0 comments on commit d6ef2b6

Please sign in to comment.