Reorganize settings page now that vertical scrolling works
This commit is contained in:
parent
88ad983aa4
commit
bfc64c926a
1 changed files with 25 additions and 27 deletions
|
|
@ -446,6 +446,29 @@ Flickable {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GroupBox {
|
||||||
|
id: uiSettingsGroupBox
|
||||||
|
width: (parent.width - 2 * parent.padding)
|
||||||
|
padding: 12
|
||||||
|
title: "<font color=\"skyblue\">UI Settings</font>"
|
||||||
|
font.pointSize: 12
|
||||||
|
|
||||||
|
Column {
|
||||||
|
anchors.fill: parent
|
||||||
|
spacing: 5
|
||||||
|
|
||||||
|
CheckBox {
|
||||||
|
id: startWindowedCheck
|
||||||
|
text: "<font color=\"white\">Start Moonlight in windowed mode</font>"
|
||||||
|
font.pointSize: 12
|
||||||
|
checked: prefs.startWindowed
|
||||||
|
onCheckedChanged: {
|
||||||
|
prefs.startWindowed = checked
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
|
|
@ -461,7 +484,7 @@ Flickable {
|
||||||
title: "<font color=\"skyblue\">Input Settings</font>"
|
title: "<font color=\"skyblue\">Input Settings</font>"
|
||||||
font.pointSize: 12
|
font.pointSize: 12
|
||||||
|
|
||||||
Row {
|
Column {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
spacing: 5
|
spacing: 5
|
||||||
|
|
||||||
|
|
@ -493,29 +516,6 @@ Flickable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
GroupBox {
|
|
||||||
id: uiSettingsGroupBox
|
|
||||||
width: (parent.width - parent.padding)
|
|
||||||
padding: 12
|
|
||||||
title: "<font color=\"skyblue\">UI Settings</font>"
|
|
||||||
font.pointSize: 12
|
|
||||||
|
|
||||||
Row {
|
|
||||||
anchors.fill: parent
|
|
||||||
spacing: 5
|
|
||||||
|
|
||||||
CheckBox {
|
|
||||||
id: startWindowedCheck
|
|
||||||
text: "<font color=\"white\">Start Moonlight in windowed mode</font>"
|
|
||||||
font.pointSize: 12
|
|
||||||
checked: prefs.startWindowed
|
|
||||||
onCheckedChanged: {
|
|
||||||
prefs.startWindowed = checked
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
GroupBox {
|
GroupBox {
|
||||||
id: hostSettingsGroupBox
|
id: hostSettingsGroupBox
|
||||||
width: (parent.width - parent.padding)
|
width: (parent.width - parent.padding)
|
||||||
|
|
@ -523,15 +523,13 @@ Flickable {
|
||||||
title: "<font color=\"skyblue\">Host Settings</font>"
|
title: "<font color=\"skyblue\">Host Settings</font>"
|
||||||
font.pointSize: 12
|
font.pointSize: 12
|
||||||
|
|
||||||
Row {
|
Column {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
spacing: 5
|
spacing: 5
|
||||||
|
|
||||||
CheckBox {
|
CheckBox {
|
||||||
id: optimizeGameSettingsCheck
|
id: optimizeGameSettingsCheck
|
||||||
text: "<font color=\"white\">Optimize game settings</font>"
|
text: "<font color=\"white\">Optimize game settings</font>"
|
||||||
// HACK: Match width of the other checkbox to make the UI not look bad
|
|
||||||
width: multiControllerCheck.width
|
|
||||||
font.pointSize: 12
|
font.pointSize: 12
|
||||||
checked: prefs.gameOptimizations
|
checked: prefs.gameOptimizations
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue