Skip to content

Commit 88e177a

Browse files
committedJan 21, 2012
fix font in scale selector combobox
1 parent 060af36 commit 88e177a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,6 +1320,9 @@ void QgisApp::createStatusBar()
13201320
mScaleEdit = new QgsScaleComboBox( statusBar() );
13211321
mScaleEdit->setObjectName( "mScaleEdit" );
13221322
mScaleEdit->setFont( myFont );
1323+
// seems setFont() change font only for popup not for line edit,
1324+
// so we need to set font for it separately
1325+
mScaleEdit->lineEdit()->setFont( myFont );
13231326
mScaleEdit->setMinimumWidth( 10 );
13241327
mScaleEdit->setMaximumWidth( 100 );
13251328
mScaleEdit->setMaximumHeight( 20 );

0 commit comments

Comments
 (0)
Please sign in to comment.