From 31e3450a84df7c1c64617299180813c975fbb877 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Mon, 13 May 2013 01:34:28 +0200 Subject: bump to 0.5 and random fixes --- metawatchwatchlets/ChatBubble.qml | 7 ++++--- metawatchwatchlets/bubble.png | Bin 263 -> 314 bytes metawatchwatchlets/metawatch-digital-notification.qml | 14 +++++++++----- metawatchwatchlets/metawatch-digital-watchface.qml | 2 +- 4 files changed, 14 insertions(+), 9 deletions(-) (limited to 'metawatchwatchlets') diff --git a/metawatchwatchlets/ChatBubble.qml b/metawatchwatchlets/ChatBubble.qml index ba69e64..1076afd 100644 --- a/metawatchwatchlets/ChatBubble.qml +++ b/metawatchwatchlets/ChatBubble.qml @@ -2,11 +2,12 @@ import QtQuick 1.0 Item { id: container - height: bubble.height + 4 + height: tip.height + bubble.height default property alias children: childContainer.children Image { + id: tip anchors { top: parent.top; left: parent.left; leftMargin: 18; @@ -19,9 +20,9 @@ Item { id: bubble anchors { top: parent.top; left: parent.left; right: parent.right; - topMargin: 8; + topMargin: 9; } - border { left: 16; top: 16; right: 16; bottom: 16; } + border { left: 14; top: 14; right: 14; bottom: 14; } height: childContainer.height + 16 source: "bubble.png" Item { diff --git a/metawatchwatchlets/bubble.png b/metawatchwatchlets/bubble.png index 59718f8..32eaa02 100644 Binary files a/metawatchwatchlets/bubble.png and b/metawatchwatchlets/bubble.png differ diff --git a/metawatchwatchlets/metawatch-digital-notification.qml b/metawatchwatchlets/metawatch-digital-notification.qml index dd4dc66..6856bac 100644 --- a/metawatchwatchlets/metawatch-digital-notification.qml +++ b/metawatchwatchlets/metawatch-digital-notification.qml @@ -21,7 +21,9 @@ MWPage { Column { id: defaultContainer visible: false - width: page.width + anchors.left: parent.left + anchors.leftMargin: 1 + width: page.width - 3 MWLabel { text: curNotification ? curNotification.title : "" @@ -37,7 +39,9 @@ MWPage { Column { id: emailContainer visible: false - width: page.width + anchors.left: parent.left + anchors.leftMargin: 1 + width: page.width - 3 Image { source: "notification-email.png" @@ -56,7 +60,9 @@ MWPage { Column { id: chatContainer visible: false - width: page.width + anchors.left: parent.left + anchors.leftMargin: 1 + width: page.width - 5 MWLabel { id: chatTitle @@ -106,8 +112,6 @@ MWPage { Connections { target: watch onButtonPressed: { - console.log(emailContainer.height); - console.log() switch (button) { case 1: scrollable.scrollUp(); diff --git a/metawatchwatchlets/metawatch-digital-watchface.qml b/metawatchwatchlets/metawatch-digital-watchface.qml index 535cbab..68af34c 100644 --- a/metawatchwatchlets/metawatch-digital-watchface.qml +++ b/metawatchwatchlets/metawatch-digital-watchface.qml @@ -65,7 +65,7 @@ MWPage { height: 30 spacing: 8 Column { - spacing: 4 + spacing: 2 Image { width: 24 height: 18 -- cgit v1.2.3