Resize About dialog to minimum size, even out layout spacings and open it as a dialog

This commit is contained in:
Janek Bevendorff committed 2017-02-25 00:41:53 +01:00
1 parent f25ad83a02
commit 204bf81dd1
3 files changed
+62 -8

No files matched your search

+3
View File
@@ -32,6 +32,9 @@ AboutDialog::AboutDialog(QWidget* parent)
{
m_ui->setupUi(this);
resize(minimumSize());
setWindowFlags(Qt::Sheet);
m_ui->nameLabel->setText(m_ui->nameLabel->text() + " " + KEEPASSX_VERSION);
QFont nameLabelFont = m_ui->nameLabel->font();
nameLabelFont.setPointSize(nameLabelFont.pointSize() + 4);