Skip to content

Commit

Permalink
Merge pull request #8312 from borysiasty/bigger_coordinate_widget
Browse files Browse the repository at this point in the history
Make the coordinate widget a little bit wider
  • Loading branch information
borysiasty committed Nov 13, 2018
2 parents 7cce9b3 + d2998ef commit cdc3cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsstatusbarcoordinateswidget.cpp
Expand Up @@ -313,7 +313,7 @@ void QgsStatusBarCoordinatesWidget::ensureCoordinatesVisible()
{

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

0 comments on commit cdc3cd1

Please sign in to comment.