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

This commit is contained in:
Janek Bevendorff 2017-02-25 00:27:51 +01:00
parent f25ad83a02
commit 204bf81dd1
No known key found for this signature in database
GPG key ID: CFEC2F6850BFFA53
3 changed files with 62 additions and 8 deletions

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