Remove unneccessary hardcoded text color for better style support

This commit is contained in:
Cameron Gutman
2018-11-22 02:35:25 -08:00
parent 065a6caee5
commit 9a153b7170
6 changed files with 11 additions and 25 deletions
+1 -2
View File
@@ -89,10 +89,9 @@ GridView {
} }
} }
Text { Label {
id: appNameText id: appNameText
text: model.name text: model.name
color: "white"
width: parent.width width: parent.width
height: 125 height: 125
anchors.top: appIcon.bottom anchors.top: appIcon.bottom
-1
View File
@@ -56,7 +56,6 @@ Item {
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
wrapMode: Text.Wrap wrapMode: Text.Wrap
color: "white"
} }
} }
+1 -2
View File
@@ -124,10 +124,9 @@ GridView {
visible: !model.addPc && model.statusUnknown visible: !model.addPc && model.statusUnknown
} }
Text { Label {
id: pcNameText id: pcNameText
text: model.name text: model.name
color: "white"
width: parent.width width: parent.width
anchors.top: pcIcon.bottom anchors.top: pcIcon.bottom
-1
View File
@@ -65,7 +65,6 @@ Item {
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
wrapMode: Text.Wrap wrapMode: Text.Wrap
color: "white"
} }
} }
+9 -17
View File
@@ -72,8 +72,7 @@ Flickable {
id: resFPStitle id: resFPStitle
text: qsTr("Resolution and FPS") text: qsTr("Resolution and FPS")
font.pointSize: 12 font.pointSize: 12
wrapMode: Text.Wrap wrapMode: Text.Wrap
color: "white"
} }
Label { Label {
@@ -82,7 +81,6 @@ Flickable {
text: qsTr("Setting values too high for your PC or network connection may cause lag, stuttering, or errors.") text: qsTr("Setting values too high for your PC or network connection may cause lag, stuttering, or errors.")
font.pointSize: 9 font.pointSize: 9
wrapMode: Text.Wrap wrapMode: Text.Wrap
color: "white"
} }
Row { Row {
@@ -297,7 +295,6 @@ Flickable {
text: qsTr("Video bitrate: ") text: qsTr("Video bitrate: ")
font.pointSize: 12 font.pointSize: 12
wrapMode: Text.Wrap wrapMode: Text.Wrap
color: "white"
} }
Label { Label {
@@ -306,7 +303,6 @@ Flickable {
text: qsTr("Lower bitrate to reduce lag and stuttering. Raise bitrate to increase image quality.") text: qsTr("Lower bitrate to reduce lag and stuttering. Raise bitrate to increase image quality.")
font.pointSize: 9 font.pointSize: 9
wrapMode: Text.Wrap wrapMode: Text.Wrap
color: "white"
} }
Slider { Slider {
@@ -334,7 +330,6 @@ Flickable {
text: qsTr("Display mode") text: qsTr("Display mode")
font.pointSize: 12 font.pointSize: 12
wrapMode: Text.Wrap wrapMode: Text.Wrap
color: "white"
} }
AutoResizingComboBox { AutoResizingComboBox {
@@ -383,7 +378,7 @@ Flickable {
CheckBox { CheckBox {
id: vsyncCheck id: vsyncCheck
hoverEnabled: true hoverEnabled: true
text: "<font color=\"white\">Enable V-Sync</font>" text: "Enable V-Sync"
font.pointSize: 12 font.pointSize: 12
checked: prefs.enableVsync checked: prefs.enableVsync
onCheckedChanged: { onCheckedChanged: {
@@ -416,7 +411,6 @@ Flickable {
text: qsTr("Audio configuration") text: qsTr("Audio configuration")
font.pointSize: 12 font.pointSize: 12
wrapMode: Text.Wrap wrapMode: Text.Wrap
color: "white"
} }
AutoResizingComboBox { AutoResizingComboBox {
@@ -469,7 +463,7 @@ Flickable {
CheckBox { CheckBox {
id: startWindowedCheck id: startWindowedCheck
text: "<font color=\"white\">Start Moonlight in windowed mode</font>" text: "Start Moonlight in windowed mode"
font.pointSize: 12 font.pointSize: 12
checked: prefs.startWindowed checked: prefs.startWindowed
onCheckedChanged: { onCheckedChanged: {
@@ -499,7 +493,7 @@ Flickable {
CheckBox { CheckBox {
id: multiControllerCheck id: multiControllerCheck
text: "<font color=\"white\">Multiple controller support</font>" text: "Multiple controller support"
font.pointSize: 12 font.pointSize: 12
checked: prefs.multiController checked: prefs.multiController
onCheckedChanged: { onCheckedChanged: {
@@ -510,7 +504,7 @@ Flickable {
CheckBox { CheckBox {
id: rawInputCheck id: rawInputCheck
hoverEnabled: true hoverEnabled: true
text: "<font color=\"white\">Raw mouse input</font>" text: "Raw mouse input"
font.pointSize: 12 font.pointSize: 12
checked: !prefs.mouseAcceleration checked: !prefs.mouseAcceleration
onCheckedChanged: { onCheckedChanged: {
@@ -538,7 +532,7 @@ Flickable {
CheckBox { CheckBox {
id: optimizeGameSettingsCheck id: optimizeGameSettingsCheck
text: "<font color=\"white\">Optimize game settings</font>" text: "Optimize game settings"
font.pointSize: 12 font.pointSize: 12
checked: prefs.gameOptimizations checked: prefs.gameOptimizations
onCheckedChanged: { onCheckedChanged: {
@@ -548,7 +542,7 @@ Flickable {
CheckBox { CheckBox {
id: audioPcCheck id: audioPcCheck
text: "<font color=\"white\">Play audio on host PC</font>" text: "Play audio on host PC"
font.pointSize: 12 font.pointSize: 12
checked: prefs.playAudioOnHost checked: prefs.playAudioOnHost
onCheckedChanged: { onCheckedChanged: {
@@ -575,7 +569,6 @@ Flickable {
text: qsTr("Video decoder") text: qsTr("Video decoder")
font.pointSize: 12 font.pointSize: 12
wrapMode: Text.Wrap wrapMode: Text.Wrap
color: "white"
} }
AutoResizingComboBox { AutoResizingComboBox {
@@ -622,7 +615,6 @@ Flickable {
text: qsTr("Video codec") text: qsTr("Video codec")
font.pointSize: 12 font.pointSize: 12
wrapMode: Text.Wrap wrapMode: Text.Wrap
color: "white"
} }
AutoResizingComboBox { AutoResizingComboBox {
@@ -672,7 +664,7 @@ Flickable {
CheckBox { CheckBox {
id: unlockUnsupportedFps id: unlockUnsupportedFps
text: "<font color=\"white\">Unlock unsupported FPS options</font>" text: "Unlock unsupported FPS options"
font.pointSize: 12 font.pointSize: 12
checked: prefs.unsupportedFps checked: prefs.unsupportedFps
onCheckedChanged: { onCheckedChanged: {
@@ -686,7 +678,7 @@ Flickable {
CheckBox { CheckBox {
id: enableMdns id: enableMdns
text: "<font color=\"white\">Automatically find PCs on the local network (Recommended)</font>" text: "Automatically find PCs on the local network (Recommended)"
font.pointSize: 12 font.pointSize: 12
checked: prefs.enableMdns checked: prefs.enableMdns
onCheckedChanged: { onCheckedChanged: {
-2
View File
@@ -129,7 +129,6 @@ Item {
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
wrapMode: Text.Wrap wrapMode: Text.Wrap
color: "white"
} }
} }
@@ -142,7 +141,6 @@ Item {
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
wrapMode: Text.Wrap wrapMode: Text.Wrap
color: "white"
} }
MessageDialog { MessageDialog {