diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2019-04-22 14:39:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-22 14:39:56 +0200 |
| commit | e575fa92d706db3d0a57f2cbc20e2303fd240958 (patch) | |
| tree | 5072c93ca0f9a0c896f688c3f7d58219bc069d42 | |
| parent | b4dfda077409c6019f5e875816027cc3bf5c9310 (diff) | |
| parent | f0323a59c3fa7fb7cd8c1fbe6643abd69f43995d (diff) | |
Merge pull request #8005 from JosJuice/issue-11679
DolphinQt: Fix verify tab hash box sizes on macOS
| -rw-r--r-- | Source/Core/DolphinQt/Config/VerifyWidget.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Config/VerifyWidget.cpp b/Source/Core/DolphinQt/Config/VerifyWidget.cpp index fff9828b09..dd96c6ba9b 100644 --- a/Source/Core/DolphinQt/Config/VerifyWidget.cpp +++ b/Source/Core/DolphinQt/Config/VerifyWidget.cpp @@ -55,6 +55,9 @@ void VerifyWidget::CreateWidgets() std::tie(m_md5_checkbox, m_md5_line_edit) = AddHashLine(m_hash_layout, tr("MD5:")); std::tie(m_sha1_checkbox, m_sha1_line_edit) = AddHashLine(m_hash_layout, tr("SHA-1:")); + // Extend line edits to their maximum possible widths (needed on macOS) + m_hash_layout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow); + m_verify_button = new QPushButton(tr("Verify Integrity"), this); } |
