summaryrefslogtreecommitdiff
path: root/sysinfowatchlet
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-11 01:10:25 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-11 01:10:25 +0200
commitf0564ad9d210cc68bfb1bfc6e56b86fa941ad830 (patch)
tree0401716e7af8be4318be1b9e88eca1cc8ad28d39 /sysinfowatchlet
parent1b8f2a0e2e63b1f881b6ba7b18982353b9c27b19 (diff)
downloadsowatch-f0564ad9d210cc68bfb1bfc6e56b86fa941ad830.tar.gz
sowatch-f0564ad9d210cc68bfb1bfc6e56b86fa941ad830.zip
more fixes
Diffstat (limited to 'sysinfowatchlet')
-rw-r--r--sysinfowatchlet/metawatch-digital.qml54
1 files changed, 25 insertions, 29 deletions
diff --git a/sysinfowatchlet/metawatch-digital.qml b/sysinfowatchlet/metawatch-digital.qml
index 1e6acfb..e94ad27 100644
--- a/sysinfowatchlet/metawatch-digital.qml
+++ b/sysinfowatchlet/metawatch-digital.qml
@@ -9,6 +9,7 @@ Rectangle {
Column {
anchors.fill: parent
+ spacing: 4
MWTitle {
id: title
@@ -16,42 +17,37 @@ Rectangle {
icon.source: "icon.png"
}
- Column {
- spacing: 4
- width: 96
+ MWSmallLabel {
+ text: "Battery: " + batteryLevel + "%"
+ }
- Text {
- text: "Battery: " + batteryLevel + "%"
- }
+ Rectangle {
+ id: battery
+ x: 12
+ width: 72
+ height: 16
- Rectangle {
- id: battery
- x: 12
- width: 72
- height: 16
+ border.color: "black"
+ border.width: 1
- border.color: "black"
- border.width: 1
-
- Rectangle {
- width: (batteryLevel / 100) * parent.width
- height: parent.height
+ Rectangle {
+ width: (batteryLevel / 100) * parent.width
+ height: parent.height
- color: "black"
- }
+ color: "black"
}
+ }
- Text {
- width: parent.width
- text: "Connected to:"
- }
+ MWSmallLabel {
+ width: parent.width
+ text: "Connected to:"
+ }
- Text {
- width: parent.width
- text: networkName
- horizontalAlignment: Text.AlignHCenter
- wrapMode: Text.Wrap
- }
+ MWLabel {
+ width: parent.width
+ text: networkName
+ horizontalAlignment: Text.AlignHCenter
+ wrapMode: Text.Wrap
}
}
}