native: add main style

This commit is contained in:
Schnitzel 2024-07-11 10:39:35 +02:00
parent 4ba85e7c08
commit c8343c1600

View file

@ -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: {