Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix font in scale selector combobox
  • Loading branch information
alexbruy committed Jan 21, 2012
1 parent 060af36 commit 88e177a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -1320,6 +1320,9 @@ void QgisApp::createStatusBar()
mScaleEdit = new QgsScaleComboBox( statusBar() );
mScaleEdit->setObjectName( "mScaleEdit" );
mScaleEdit->setFont( myFont );
// seems setFont() change font only for popup not for line edit,
// so we need to set font for it separately
mScaleEdit->lineEdit()->setFont( myFont );
mScaleEdit->setMinimumWidth( 10 );
mScaleEdit->setMaximumWidth( 100 );
mScaleEdit->setMaximumHeight( 20 );
Expand Down

0 comments on commit 88e177a

Please sign in to comment.