Fix сentering icon and text on buttons

This commit is contained in:
xboxones1 2024-05-18 08:43:50 +00:00 committed by Jonathan White
parent dad8b1d2ea
commit 43e3fbaaf0

View File

@ -38,8 +38,11 @@ WelcomeWidget::WelcomeWidget(QWidget* parent)
m_ui->iconLabel->setPixmap(icons()->applicationIcon().pixmap(64));
m_ui->buttonNewDatabase->setIcon(icons()->icon("document-new"));
m_ui->buttonNewDatabase->setStyleSheet("text-align:center;");
m_ui->buttonOpenDatabase->setIcon(icons()->icon("document-open"));
m_ui->buttonOpenDatabase->setStyleSheet("text-align:center;");
m_ui->buttonImport->setIcon(icons()->icon("document-import"));
m_ui->buttonImport->setStyleSheet("text-align:center;");
refreshLastDatabases();