We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73134b4 commit c077fbcCopy full SHA for c077fbc
src/app/qgisapp.cpp
@@ -3002,7 +3002,13 @@ void QgisApp::createStatusBar()
3002
3003
// Drop the font size in the status bar by a couple of points
3004
QFont statusBarFont = font();
3005
- statusBarFont.setPointSize( statusBarFont.pointSize() - 2 );
+ int fontSize = statusBarFont.pointSize();
3006
+#ifdef Q_OS_WIN
3007
+ fontSize = std::max( fontSize - 1, 8 ); // bit less on windows, due to poor rendering of small point sizes
3008
+#else
3009
+ fontSize = std::max( fontSize - 2, 6 );
3010
+#endif
3011
+ statusBarFont.setPointSize( fontSize );
3012
statusBar()->setFont( statusBarFont );
3013
3014
mStatusBar = new QgsStatusBar();
0 commit comments