diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2012-08-11 01:10:25 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2012-08-11 01:10:25 +0200 |
commit | f0564ad9d210cc68bfb1bfc6e56b86fa941ad830 (patch) | |
tree | 0401716e7af8be4318be1b9e88eca1cc8ad28d39 /sysinfowatchlet/metawatch-digital.qml | |
parent | 1b8f2a0e2e63b1f881b6ba7b18982353b9c27b19 (diff) | |
download | sowatch-f0564ad9d210cc68bfb1bfc6e56b86fa941ad830.tar.gz sowatch-f0564ad9d210cc68bfb1bfc6e56b86fa941ad830.zip |
more fixes
Diffstat (limited to 'sysinfowatchlet/metawatch-digital.qml')
-rw-r--r-- | sysinfowatchlet/metawatch-digital.qml | 54 |
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 } } } |