summaryrefslogtreecommitdiff
path: root/app/qml/pages/WatchPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'app/qml/pages/WatchPage.qml')
-rw-r--r--app/qml/pages/WatchPage.qml34
1 files changed, 24 insertions, 10 deletions
diff --git a/app/qml/pages/WatchPage.qml b/app/qml/pages/WatchPage.qml
index 68502bd..90e5ec9 100644
--- a/app/qml/pages/WatchPage.qml
+++ b/app/qml/pages/WatchPage.qml
@@ -37,10 +37,12 @@ Page {
id: page
SilicaFlickable {
+ id: flickable
anchors.fill: parent
-
contentHeight: column.height
+ VerticalScrollDecorator { flickable: flickable }
+
Column {
id: column
@@ -50,19 +52,31 @@ Page {
title: pebbled.name
}
- Button {
- text: "Ping"
- onClicked: {
- pebbled.ping(66)
+ Row {
+ anchors {
+ left: parent.left
+ right: parent.right
+ margins: Theme.paddingLarge
}
- }
- Button {
- text: "Sync Time"
- onClicked: {
- pebbled.time()
+
+ Button {
+ text: "Ping"
+ width: parent.width / 2
+ onClicked: {
+ pebbled.ping(66)
+ }
+ }
+
+ Button {
+ text: "Sync Time"
+ width: parent.width / 2
+ onClicked: {
+ pebbled.time()
+ }
}
}
+
}
}
}