Skip to content
Permalink
Browse files

Make the coordinate widget a little bit wider to avoid contents cropp…

…ing in nowadays KDE styles
  • Loading branch information
borysiasty committed Oct 24, 2018
1 parent 302529a commit d2998ef7c92b7d940c8c3d077b25e5c09be08ba9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsstatusbarcoordinateswidget.cpp
@@ -317,7 +317,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 d2998ef

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