Skip to content
Permalink
Browse files
Hide borders from status bar items under Windows
These aren't required and just clutter the interface.
  • Loading branch information
nyalldawson committed Oct 28, 2014
1 parent dbed468 commit 8617143
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 src/app/composer/qgscomposer.cpp 100755 → 100644
@@ -455,6 +455,9 @@ QgsComposer::QgsComposer( QgisApp *qgis, const QString& title )
mStatusCompositionLabel->setMinimumWidth( 350 );
mStatusAtlasLabel = new QLabel( mStatusBar );

//hide borders from child items in status bar under Windows
mStatusBar->setStyleSheet( "QStatusBar::item {border: none;}" );

mStatusBar->addWidget( mStatusCursorXLabel );
mStatusBar->addWidget( mStatusCursorYLabel );
mStatusBar->addWidget( mStatusCursorPageLabel );
@@ -1668,10 +1668,11 @@ void QgisApp::createToolBars()

void QgisApp::createStatusBar()
{
//
//remove borders from children under Windows
statusBar()->setStyleSheet( "QStatusBar::item {border: none;}" );

// Add a panel to the status bar for the scale, coords and progress
// And also rendering suppression checkbox
//
mProgressBar = new QProgressBar( statusBar() );
mProgressBar->setObjectName( "mProgressBar" );
mProgressBar->setMaximumWidth( 100 );

0 comments on commit 8617143

Please sign in to comment.