summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2015-10-28 00:33:21 (GMT)
committerAleix Pol <aleixpol@kde.org>2015-10-28 00:33:21 (GMT)
commit3b0e2bbc07375f038c498e2158eca28aa6d21995 (patch)
tree78a2253b3f2d333191674ea981218a3a4bf0266f
parent82c6063a93f5c16a32842a8d4a2a98c1f0ed005d (diff)
Fix issues pointed out by David
Change opacity when not hovered in application list delegate. Improve title on Top lists. Add a bit of a hover effect for the CategoriesView Force the ReviewDialog to be a bit wider by default
-rw-r--r--discover/qml/ApplicationsList.qml2
-rw-r--r--discover/qml/CategoryDisplay.qml6
-rw-r--r--discover/qml/CategoryView.qml2
-rw-r--r--discover/qml/ReviewDialog.qml1
4 files changed, 7 insertions, 4 deletions
diff --git a/discover/qml/ApplicationsList.qml b/discover/qml/ApplicationsList.qml
index 470f154..923343c 100644
--- a/discover/qml/ApplicationsList.qml
+++ b/discover/qml/ApplicationsList.qml
@@ -89,7 +89,7 @@ ScrollView {
elide: Text.ElideRight
text: comment
font.italic: true
- opacity: delegateArea.containsMouse ? 1 : 0.2
+ opacity: delegateArea.containsMouse ? 1 : 0.5
maximumLineCount: 1
clip: true
}
diff --git a/discover/qml/CategoryDisplay.qml b/discover/qml/CategoryDisplay.qml
index cbdf052..7bfb77c 100644
--- a/discover/qml/CategoryDisplay.qml
+++ b/discover/qml/CategoryDisplay.qml
@@ -48,7 +48,7 @@ ConditionalLoader
Layout.fillWidth: true
sortRole: "sortableRating"
filteredCategory: categoryModel.displayedCategory
- title: i18n("Popularity")
+ title: i18n("Most Popular")
extended: gridRow.extended
roleDelegate: Item {
width: bg.width
@@ -68,7 +68,7 @@ ConditionalLoader
Layout.fillWidth: true
sortRole: "ratingPoints"
filteredCategory: categoryModel.displayedCategory
- title: i18n("Rating")
+ title: i18n("Best Rating")
extended: gridRow.extended
roleDelegate: Rating {
property variant model
@@ -112,7 +112,7 @@ ConditionalLoader
Layout.fillWidth: true
sortRole: "sortableRating"
filteredCategory: categoryModel.displayedCategory
- title: i18n("Popularity")
+ title: i18n("Most Popular")
roleDelegate: Item {
width: bg.width
property variant model
diff --git a/discover/qml/CategoryView.qml b/discover/qml/CategoryView.qml
index 3ad8c68..cd98af2 100644
--- a/discover/qml/CategoryView.qml
+++ b/discover/qml/CategoryView.qml
@@ -51,6 +51,7 @@ GridItem
width: grid.cellWidth
height: grid.cellHeight-2
+ hoverEnabled: true
ColumnLayout {
id: layout
@@ -62,6 +63,7 @@ GridItem
Layout.fillWidth: true
Layout.preferredWidth: 32
Layout.preferredHeight: Layout.preferredWidth
+ opacity: categoryItem.containsMouse ? 0.5 : 1
QIconItem {
icon: decoration
diff --git a/discover/qml/ReviewDialog.qml b/discover/qml/ReviewDialog.qml
index ca0a0d4..91e995e 100644
--- a/discover/qml/ReviewDialog.qml
+++ b/discover/qml/ReviewDialog.qml
@@ -14,6 +14,7 @@ Dialog
property alias review: reviewInput.text
title: i18n("Reviewing %1", application.name)
modality: Qt.WindowModal
+ width: 500
ColumnLayout {
width: parent.width