Style fixing

This commit is contained in:
2018-07-11 22:16:52 +02:00
parent fd4d368873
commit e07e29cd4a
3 changed files with 15 additions and 4 deletions

View File

@@ -5,6 +5,10 @@ Item {
signal clicked() signal clicked()
signal back() signal back()
SystemPalette {
id: palette
}
MouseArea { MouseArea {
id: ma id: ma
@@ -19,6 +23,8 @@ Item {
width: root.height width: root.height
height: root.height / 9 height: root.height / 9
antialiasing: true antialiasing: true
color: palette.button
} }
Rectangle { Rectangle {
@@ -28,6 +34,8 @@ Item {
width: root.height width: root.height
height: root.height / 9 height: root.height / 9
antialiasing: true antialiasing: true
color: palette.button
} }
Rectangle { Rectangle {
@@ -37,6 +45,8 @@ Item {
width: root.height width: root.height
height: root.height / 9 height: root.height / 9
antialiasing: true antialiasing: true
color: palette.button
} }
property int animationDuration: 450 property int animationDuration: 450

View File

@@ -11,7 +11,7 @@ Page {
ListElement { ListElement {
name: "serviceUrl" name: "serviceUrl"
title: qsTr("NooLite service URL:") title: qsTr("nooLite service URL:")
inputHint: Qt.ImhUrlCharactersOnly inputHint: Qt.ImhUrlCharactersOnly
} }
} }
@@ -42,7 +42,7 @@ Page {
anchors.right: settingsItem.right anchors.right: settingsItem.right
anchors.left: titleLabel.right anchors.left: titleLabel.right
anchors.leftMargin: 8 anchors.leftMargin: 10
inputMethodHints: model.inputHint inputMethodHints: model.inputHint

View File

@@ -3,10 +3,11 @@
; http://doc.qt.io/qt-5/qtquickcontrols2-configuration.html ; http://doc.qt.io/qt-5/qtquickcontrols2-configuration.html
[Controls] [Controls]
Style=Universal Style=Material
[Universal] [Material]
Theme=Dark Theme=Dark
Primary=#3C3C3C
;Accent=Steel ;Accent=Steel
;Foreground=Brown ;Foreground=Brown
;Background=Steel ;Background=Steel