mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-21 20:27:45 +00:00
Move wine settings box to it's own column
This commit is contained in:
parent
44ce6aa252
commit
3ce0e6ca95
1 changed files with 2 additions and 5 deletions
|
@ -23,9 +23,6 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, QWidget* parent) : window
|
||||||
auto mainLayout = new QGridLayout(this);
|
auto mainLayout = new QGridLayout(this);
|
||||||
setLayout(mainLayout);
|
setLayout(mainLayout);
|
||||||
|
|
||||||
auto layout = new QFormLayout();
|
|
||||||
mainLayout->addLayout(layout, 0, 1);
|
|
||||||
|
|
||||||
auto profileWidget = new QListWidget();
|
auto profileWidget = new QListWidget();
|
||||||
profileWidget->addItem("Default");
|
profileWidget->addItem("Default");
|
||||||
mainLayout->addWidget(profileWidget, 0, 0);
|
mainLayout->addWidget(profileWidget, 0, 0);
|
||||||
|
@ -34,7 +31,7 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, QWidget* parent) : window
|
||||||
auto gameBoxLayout = new QFormLayout();
|
auto gameBoxLayout = new QFormLayout();
|
||||||
gameBox->setLayout(gameBoxLayout);
|
gameBox->setLayout(gameBoxLayout);
|
||||||
|
|
||||||
layout->addRow(gameBox);
|
mainLayout->addWidget(gameBox, 0, 1);
|
||||||
|
|
||||||
auto serverType = new QComboBox();
|
auto serverType = new QComboBox();
|
||||||
serverType->insertItem(0, "Square Enix");
|
serverType->insertItem(0, "Square Enix");
|
||||||
|
@ -82,7 +79,7 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, QWidget* parent) : window
|
||||||
auto wineBoxLayout = new QFormLayout();
|
auto wineBoxLayout = new QFormLayout();
|
||||||
wineBox->setLayout(wineBoxLayout);
|
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"
|
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.");
|
"This is all stuff you can do outside of the launcher, but we can take care of it for you.");
|
||||||
|
|
Loading…
Add table
Reference in a new issue