Skip to content

Commit

Permalink
Added a little more padding for recent projects title (#4443)
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux committed Apr 29, 2017
1 parent 3450a9f commit 7e63324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgswelcomepage.cpp
Expand Up @@ -45,8 +45,8 @@ QgsWelcomePage::QgsWelcomePage( bool skipVersionCheck, QWidget *parent )
recentProjectsContainer->layout()->setMargin( 0 );

int titleSize = QApplication::fontMetrics().height() * 1.4;
QLabel *recentProjectsTitle = new QLabel( QStringLiteral( "<div style='font-size:%1px;font-weight:bold;'>%2</div>" ).arg( titleSize ).arg( tr( "Recent Projects" ) ) );
recentProjectsTitle->setContentsMargins( 0, 3, 0, 0 );
QLabel *recentProjectsTitle = new QLabel( QStringLiteral( "<div style='font-size:%1px;font-weight:bold'>%2</div>" ).arg( titleSize ).arg( tr( "Recent Projects" ) ) );
recentProjectsTitle->setContentsMargins( 10, 3, 0, 0 );

recentProjectsContainer->layout()->addWidget( recentProjectsTitle );

Expand Down

0 comments on commit 7e63324

Please sign in to comment.