Skip to content
Permalink
Browse files

fix font in scale selector combobox

  • Loading branch information
alexbruy committed Jan 21, 2012
1 parent 060af36 commit 88e177a94ae159ed48d22b9e87286a47caed2197
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/qgisapp.cpp
@@ -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 );

0 comments on commit 88e177a

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