From 4a40e72411959813cb1d259928ecfd0c3bc4415b Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 15 Aug 2022 13:36:34 -0400 Subject: [PATCH] Make Login and ServerSelection pages readable --- qml/Login.qml | 5 +++++ qml/ServerSelection.qml | 18 +++++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/qml/Login.qml b/qml/Login.qml index 712b265..22787e5 100644 --- a/qml/Login.qml +++ b/qml/Login.qml @@ -100,6 +100,7 @@ Rectangle { font.pointSize: 18 font.bold: true + color: "white" anchors.horizontalCenter: parent.horizontalCenter anchors.topMargin: 15 @@ -109,6 +110,7 @@ Rectangle { id: usernameLabel text: "Username" + color: "white" anchors.top: loginLabel.bottom anchors.topMargin: 20 @@ -120,6 +122,7 @@ Rectangle { width: parent.width anchors.top: usernameLabel.bottom + color: "white" background: Rectangle { color: Qt.rgba(0.1, 0.1, 0.1, 0.3) @@ -134,6 +137,7 @@ Rectangle { anchors.top: usernameField.bottom anchors.topMargin: 5 + color: "white" text: "Password" } @@ -146,6 +150,7 @@ Rectangle { anchors.top: passwordLabel.bottom echoMode: TextInput.Password + color: "white" background: Rectangle { color: Qt.rgba(0.1, 0.1, 0.1, 0.3) diff --git a/qml/ServerSelection.qml b/qml/ServerSelection.qml index ff3c842..94b1d3b 100644 --- a/qml/ServerSelection.qml +++ b/qml/ServerSelection.qml @@ -6,7 +6,7 @@ import QtQuick.Shapes 1.0 Rectangle { id: serverSelect - color: Qt.rgba(0.1, 0.1, 0.1, 1.0) + color: myPalette.window Rectangle { width: 700 @@ -43,7 +43,7 @@ Rectangle { font.pointSize: 11 font.bold: true - color: "white" + color: myPalette.text } Text { @@ -57,7 +57,7 @@ Rectangle { wrapMode: Text.WordWrap - color: "white" + color: myPalette.text } Text { @@ -71,7 +71,7 @@ Rectangle { font.pointSize: 11 font.bold: true - color: "white" + color: myPalette.text } Text { @@ -85,7 +85,7 @@ Rectangle { wrapMode: Text.WordWrap - color: "white" + color: myPalette.text } Text { @@ -99,7 +99,7 @@ Rectangle { font.pointSize: 11 font.bold: true - color: "white" + color: myPalette.text } Text { @@ -113,7 +113,7 @@ Rectangle { wrapMode: Text.WordWrap - color: "white" + color: myPalette.text } Text { @@ -127,7 +127,7 @@ Rectangle { font.pointSize: 11 font.bold: true - color: "white" + color: myPalette.text } Text { @@ -141,7 +141,7 @@ Rectangle { wrapMode: Text.WordWrap - color: "white" + color: myPalette.text } Rectangle {