1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-21 12:17:45 +00:00

Move wine settings box to it's own column

This commit is contained in:
redstrate 2021-11-09 10:54:31 -05:00
parent 44ce6aa252
commit 3ce0e6ca95

View file

@ -23,9 +23,6 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, QWidget* parent) : window
auto mainLayout = new QGridLayout(this);
setLayout(mainLayout);
auto layout = new QFormLayout();
mainLayout->addLayout(layout, 0, 1);
auto profileWidget = new QListWidget();
profileWidget->addItem("Default");
mainLayout->addWidget(profileWidget, 0, 0);
@ -34,7 +31,7 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, QWidget* parent) : window
auto gameBoxLayout = new QFormLayout();
gameBox->setLayout(gameBoxLayout);
layout->addRow(gameBox);
mainLayout->addWidget(gameBox, 0, 1);
auto serverType = new QComboBox();
serverType->insertItem(0, "Square Enix");
@ -82,7 +79,7 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, QWidget* parent) : window
auto wineBoxLayout = new QFormLayout();
wineBox->setLayout(wineBoxLayout);
layout->addRow(wineBox);
mainLayout->addWidget(wineBox, 0, 2);
auto infoLabel = new QLabel("This is a list of possible enhancements you can make to your Wine gaming experience.\n"
"This is all stuff you can do outside of the launcher, but we can take care of it for you.");