Commit 85d1d32c authored by Waqar Ahmed's avatar Waqar Ahmed Committed by Christoph Cullmann
Browse files

Fix commit dialog resizing issues


Signed-off-by: Waqar Ahmed's avatarWaqar Ahmed <waqar.17a@gmail.com>
parent efd17429
......@@ -97,8 +97,8 @@ GitCommitDialog::GitCommitDialog(const QString &lastCommit, const QFont &font, Q
vlayout->addWidget(&m_pe);
// set 72 chars wide plain text edit
m_pe.setFixedWidth(width);
this->setFixedHeight(fm.averageCharWidth() * 52);
m_pe.resize(width, m_pe.height());
resize(width, fm.averageCharWidth() * 52);
// restore last message ?
if (!lastCommit.isEmpty()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment