diff options
Diffstat (limited to 'qml/tapasboard')
-rw-r--r-- | qml/tapasboard/ForumPage.qml | 10 | ||||
-rw-r--r-- | qml/tapasboard/MainPage.qml | 5 |
2 files changed, 14 insertions, 1 deletions
diff --git a/qml/tapasboard/ForumPage.qml b/qml/tapasboard/ForumPage.qml index aed65a0..96b8082 100644 --- a/qml/tapasboard/ForumPage.qml +++ b/qml/tapasboard/ForumPage.qml @@ -45,7 +45,7 @@ Page { Column { id: topicItemColumn anchors.left: parent.left - anchors.right: topicItemImage.left + anchors.right: topicRepliesCount.left anchors.verticalCenter: parent.verticalCenter Text { @@ -56,6 +56,14 @@ Page { } } + CountBubble { + id: topicRepliesCount + anchors.right: topicItemImage.left + anchors.verticalCenter: parent.verticalCenter + value: model.numReplies + visible: value > 0 + } + Image { id: topicItemImage source: "image://theme/icon-m-common-drilldown-arrow" + (theme.inverted ? "-inverse" : "") diff --git a/qml/tapasboard/MainPage.qml b/qml/tapasboard/MainPage.qml index f94b505..e0e8fb8 100644 --- a/qml/tapasboard/MainPage.qml +++ b/qml/tapasboard/MainPage.qml @@ -4,6 +4,11 @@ import com.nokia.extras 1.1 import com.javispedro.tapasboard 1.0 Page { + id: mainPage + + anchors.leftMargin: UiConstants.DefaultMargin + anchors.rightMargin: UiConstants.DefaultMargin + ListView { id: favoritesView anchors.fill: parent |