diff options
| author | JosJuice <josjuice@gmail.com> | 2019-04-17 00:38:31 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2019-04-19 19:15:04 +0200 |
| commit | f0323a59c3fa7fb7cd8c1fbe6643abd69f43995d (patch) | |
| tree | 0963e9fd497af7307b4a1382248b2d240a635019 /Source/Core/DolphinQt/Config/VerifyWidget.cpp | |
| parent | 861472efdf98458e75989c1a197e0be903087eeb (diff) | |
DolphinQt: Fix verify tab hash box sizes on macOS
https://bugs.dolphin-emu.org/issues/11679
Diffstat (limited to 'Source/Core/DolphinQt/Config/VerifyWidget.cpp')
| -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 f3872df211..9af683b21d 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); } |
