Skip to content

Commit cdc3cd1

Browse files
authoredNov 13, 2018
Merge pull request #8312 from borysiasty/bigger_coordinate_widget
Make the coordinate widget a little bit wider
2 parents 7cce9b3 + d2998ef commit cdc3cd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgsstatusbarcoordinateswidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ void QgsStatusBarCoordinatesWidget::ensureCoordinatesVisible()
313313
{
314314

315315
//ensure the label is big (and small) enough
316-
int width = std::max( mLineEdit->fontMetrics().width( mLineEdit->text() ) + 10, mMinimumWidth );
316+
int width = std::max( mLineEdit->fontMetrics().width( mLineEdit->text() ) + 16, mMinimumWidth );
317317
if ( mLineEdit->minimumWidth() < width || ( mLineEdit->minimumWidth() - width ) > mTwoCharSize )
318318
{
319319
mLineEdit->setMinimumWidth( width );

0 commit comments

Comments
 (0)
Please sign in to comment.