mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
[HIG] Remove colon from widget label in status bar
This commit is contained in:
parent
e2488eae06
commit
4557a31cbd
@ -269,7 +269,7 @@ void QgsStatusBarCoordinatesWidget::extentsViewToggled( bool flag )
|
|||||||
mToggleExtentsViewButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "tracking.svg" ) ) );
|
mToggleExtentsViewButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "tracking.svg" ) ) );
|
||||||
mLineEdit->setToolTip( tr( "Map coordinates at mouse cursor position" ) );
|
mLineEdit->setToolTip( tr( "Map coordinates at mouse cursor position" ) );
|
||||||
mLineEdit->setReadOnly( false );
|
mLineEdit->setReadOnly( false );
|
||||||
mLabel->setText( tr( "Coordinate:" ) );
|
mLabel->setText( tr( "Coordinate" ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -306,7 +306,7 @@ void QgsStatusBarCoordinatesWidget::showExtent()
|
|||||||
|
|
||||||
// update the statusbar with the current extents.
|
// update the statusbar with the current extents.
|
||||||
QgsRectangle myExtents = mMapCanvas->extent();
|
QgsRectangle myExtents = mMapCanvas->extent();
|
||||||
mLabel->setText( tr( "Extents:" ) );
|
mLabel->setText( tr( "Extents" ) );
|
||||||
mLineEdit->setText( myExtents.toString( true ) );
|
mLineEdit->setText( myExtents.toString( true ) );
|
||||||
|
|
||||||
ensureCoordinatesVisible();
|
ensureCoordinatesVisible();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user