Permalink
Browse files

Merge pull request #7035 from spycrab/qt_macos_info_width

Qt/macOS: Fix InfoWidget fields being too narrow
  • Loading branch information...
spycrab committed May 30, 2018
2 parents 6c7e9f7 + 5f9d4d6 commit d1db841adafbf9fe5eb7591373f737b537fdefd4
Showing with 4 additions and 0 deletions.
  1. +4 −0 Source/Core/DolphinQt2/Config/InfoWidget.cpp
@@ -43,6 +43,8 @@ QGroupBox* InfoWidget::CreateISODetails()
QGroupBox* group = new QGroupBox(tr("ISO Details"));
QFormLayout* layout = new QFormLayout;
layout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
QLineEdit* file_path = CreateValueDisplay(
QStringLiteral("%1 (%2)")
.arg(QDir::toNativeSeparators(QString::fromStdString(m_game.GetFilePath())))
@@ -98,6 +100,8 @@ QGroupBox* InfoWidget::CreateBannerDetails()
QGroupBox* group = new QGroupBox(tr("Banner Details"));
QFormLayout* layout = new QFormLayout;
layout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
m_name = CreateValueDisplay();
m_maker = CreateValueDisplay();
m_description = new QTextEdit();

0 comments on commit d1db841

Please sign in to comment.