From f0323a59c3fa7fb7cd8c1fbe6643abd69f43995d Mon Sep 17 00:00:00 2001 From: JosJuice Date: Wed, 17 Apr 2019 00:38:31 +0200 Subject: [PATCH] DolphinQt: Fix verify tab hash box sizes on macOS https://bugs.dolphin-emu.org/issues/11679 --- Source/Core/DolphinQt/Config/VerifyWidget.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); }