mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
Added a little more padding for recent projects title (#4443)
This commit is contained in:
parent
3450a9ff89
commit
7e63324bfd
@ -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 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user