Skip to content
Permalink
Browse files

Make locator bar a bit wider

  • Loading branch information
nyalldawson committed Jul 18, 2017
1 parent b834156 commit 1f9512e6dbf034080b291abe40957c3f4c0daa1d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/locator/qgslocatorwidget.cpp
@@ -41,7 +41,7 @@ QgsLocatorWidget::QgsLocatorWidget( QWidget *parent )
#endif

int placeholderMinWidth = mLineEdit->fontMetrics().width( mLineEdit->placeholderText() );
int minWidth = qMax( 200, ( int )( placeholderMinWidth * 1.3 ) );
int minWidth = qMax( 200, ( int )( placeholderMinWidth * 1.6 ) );
resize( minWidth, 30 );
QSizePolicy sizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::Preferred );
sizePolicy.setHorizontalStretch( 0 );

0 comments on commit 1f9512e

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