Skip to content

Commit 1f9512e

Browse files
committedJul 18, 2017
Make locator bar a bit wider
1 parent b834156 commit 1f9512e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/gui/locator/qgslocatorwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ QgsLocatorWidget::QgsLocatorWidget( QWidget *parent )
4141
#endif
4242

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

0 commit comments

Comments
 (0)
Please sign in to comment.