Added a little more padding for recent projects title (#4443)

This commit is contained in:
Tim Sutton 2017-04-29 21:11:21 +02:00 committed by GitHub
parent 3450a9ff89
commit 7e63324bfd

View File

@ -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 );