Skip to content
Permalink
Browse files

Merge pull request #8312 from borysiasty/bigger_coordinate_widget

Make the coordinate widget a little bit wider
  • Loading branch information
borysiasty committed Nov 13, 2018
2 parents 7cce9b3 + d2998ef commit cdc3cd1c2ee69e73b0a6e89ab0d0fcee60653ee3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsstatusbarcoordinateswidget.cpp
@@ -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 );

0 comments on commit cdc3cd1

Please sign in to comment.
You can’t perform that action at this time.