From c8343c160055c7e4fc0e4e6c8a6c36727c445c3e Mon Sep 17 00:00:00 2001 From: Schnitzel Date: Thu, 11 Jul 2024 10:39:35 +0200 Subject: [PATCH] native: add main style --- native/Main.qml | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/native/Main.qml b/native/Main.qml index 0732f8f..f271ad9 100644 --- a/native/Main.qml +++ b/native/Main.qml @@ -1,6 +1,6 @@ - import QtQuick -import QtQuick.Window -import QtQuick.Layouts + import QtQuick 2.15 +import QtQuick.Window 2.15 +import QtQuick.Layouts 2.15 import QtQuick.Controls 2.15 Window { @@ -27,10 +27,8 @@ Window { left: parent.left right: parent.right } - radius: 10 + radius: 0 height: 50 - border.width: 5 - border.color: getColors().accent color: getColors().midlight TextField { @@ -51,7 +49,7 @@ Window { rightMargin: 10 right: s1.right } - text: qsTr("Loggin") + text: qsTr("Login") onClicked: { var component = Qt.createComponent("LoginScreen.qml") @@ -69,10 +67,12 @@ Window { right: parent.right bottom: parent.bottom } - color: getColors().dark + radius: 0 + color: getColors().window TableView { anchors { + topMargin: 5 fill: s2 } columnSpacing: 0 @@ -86,9 +86,7 @@ Window { anchors{ } color: getColors().base - - - + implicitWidth: 100 implicitHeight: 50 border.width: 0 @@ -127,8 +125,6 @@ Window { bottom: parent.bottom - - } text: qsTr("Login Screen") onClicked: {