From ae0dde8b18c9c9c7fb10eb711b34e1b7a4ffc782 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 3 Mar 2024 14:01:21 +1000 Subject: [PATCH] Qt: Make some extra space in memcard settings Settings should fit on 720p now. --- src/duckstation-qt/memorycardsettingswidget.cpp | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/src/duckstation-qt/memorycardsettingswidget.cpp b/src/duckstation-qt/memorycardsettingswidget.cpp index 6f92e5d7b..74249df62 100644 --- a/src/duckstation-qt/memorycardsettingswidget.cpp +++ b/src/duckstation-qt/memorycardsettingswidget.cpp @@ -45,8 +45,8 @@ void MemoryCardSettingsWidget::createUi(SettingsWindow* dialog) QGroupBox* box = new QGroupBox(tr("Shared Settings"), this); QVBoxLayout* box_layout = new QVBoxLayout(box); QPushButton* browse = new QPushButton(tr("Browse..."), box); + QPushButton* open_memcards = new QPushButton(tr("Open..."), box); QPushButton* reset = new QPushButton(tr("Reset"), box); - QPushButton* open_memcards = new QPushButton(tr("Open Directory..."), box); { QLabel* label = new QLabel(tr("Memory Card Directory:"), box); @@ -57,6 +57,7 @@ void MemoryCardSettingsWidget::createUi(SettingsWindow* dialog) hbox->addWidget(m_memory_card_directory); hbox->addWidget(browse); + hbox->addWidget(open_memcards); hbox->addWidget(reset); box_layout->addLayout(hbox); @@ -73,20 +74,6 @@ void MemoryCardSettingsWidget::createUi(SettingsWindow* dialog) box_layout->addWidget(QtUtils::CreateHorizontalLine(box)); - { - - QHBoxLayout* note_layout = new QHBoxLayout(); - QLabel* note_label = - new QLabel(tr("If one of the \"separate card per game\" memory card types is chosen, these memory " - "cards will be saved to the memory cards directory."), - box); - note_label->setWordWrap(true); - note_layout->addWidget(note_label, 1); - - note_layout->addWidget(open_memcards); - box_layout->addLayout(note_layout); - } - { QHBoxLayout* hbox = new QHBoxLayout(); QLabel* label = new QLabel(