Skip to content
Permalink
Browse files

fix indentation

  • Loading branch information
signedav committed Feb 21, 2018
1 parent 77be1ce commit ffd1e4bcf8618d924e01b4ae2eaf6b3a5126d4d6
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgsstatusbarcoordinateswidget.cpp
@@ -227,7 +227,7 @@ void QgsStatusBarCoordinatesWidget::showMouseCoordinates( const QgsPointXY &p )

//ensure the label is big (and small) enough
int width = mLineEdit->fontMetrics().width( mLineEdit->text() ) + 10;
if( mLineEdit->minimumWidth()+4 < width || mLineEdit->minimumWidth()-4 > width )
if ( mLineEdit->minimumWidth() + 4 < width || mLineEdit->minimumWidth() - 4 > width )
{
mLineEdit->setMinimumWidth( width );
mLineEdit->setMaximumWidth( width );
@@ -249,7 +249,7 @@ void QgsStatusBarCoordinatesWidget::showExtent()

//ensure the label is big (and small) enough
int width = mLineEdit->fontMetrics().width( mLineEdit->text() ) + 10;
if( mLineEdit->minimumWidth()+4 < width || mLineEdit->minimumWidth()-4 > width )
if ( mLineEdit->minimumWidth() + 4 < width || mLineEdit->minimumWidth() - 4 > width )
{
mLineEdit->setMinimumWidth( width );
mLineEdit->setMaximumWidth( width );

0 comments on commit ffd1e4b

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