summaryrefslogtreecommitdiff
path: root/app/qml/pages/AppConfigPage.qml
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2014-12-14 03:26:46 +0100
committerJavier <dev.git@javispedro.com>2014-12-14 03:26:46 +0100
commitf40514fe681f5163deb5f579140ef4f7ac77f5a8 (patch)
treec3edddde3cbc98a797d5a1a7b745c2c5d3b99eba /app/qml/pages/AppConfigPage.qml
parentdf30ca18eebd2dfec03c589b607d45a5891cf2b2 (diff)
add icons to the slots managament UI
Diffstat (limited to 'app/qml/pages/AppConfigPage.qml')
-rw-r--r--app/qml/pages/AppConfigPage.qml14
1 files changed, 12 insertions, 2 deletions
diff --git a/app/qml/pages/AppConfigPage.qml b/app/qml/pages/AppConfigPage.qml
index 10fbe05..00eb05c 100644
--- a/app/qml/pages/AppConfigPage.qml
+++ b/app/qml/pages/AppConfigPage.qml
@@ -11,6 +11,7 @@ Page {
SilicaWebView {
id: webview
+ visible: url != ""
anchors.fill: parent
header: PageHeader {
@@ -32,8 +33,17 @@ Page {
}
}
- ViewPlaceholder {
- enabled: url == ""
+ Text {
+ anchors.centerIn: parent
+ visible: url == ""
text: qsTr("No configuration settings available")
+ width: parent.width - 2*Theme.paddingLarge
+ horizontalAlignment: Text.AlignHCenter
+ wrapMode: Text.Wrap
+ font {
+ pixelSize: Theme.fontSizeLarge
+ family: Theme.fontFamilyHeading
+ }
+ color: Theme.highlightColor
}
}