зеркало из https://github.com/nextcloud/desktop.git
Fix highlight in activity list
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Родитель
1dc83bfbd3
Коммит
97cf9390fa
|
@ -30,6 +30,7 @@ ScrollView {
|
||||||
Accessible.role: Accessible.List
|
Accessible.role: Accessible.List
|
||||||
Accessible.name: qsTr("Activity list")
|
Accessible.name: qsTr("Activity list")
|
||||||
|
|
||||||
|
keyNavigationEnabled: true
|
||||||
clip: true
|
clip: true
|
||||||
spacing: 0
|
spacing: 0
|
||||||
currentIndex: -1
|
currentIndex: -1
|
||||||
|
@ -37,11 +38,10 @@ ScrollView {
|
||||||
|
|
||||||
highlight: Rectangle {
|
highlight: Rectangle {
|
||||||
id: activityHover
|
id: activityHover
|
||||||
|
|
||||||
anchors.fill: activityList.currentItem
|
anchors.fill: activityList.currentItem
|
||||||
color: palette.highlight
|
color: palette.highlight
|
||||||
visible: activityList.activeFocus
|
|
||||||
radius: Style.mediumRoundedButtonRadius
|
radius: Style.mediumRoundedButtonRadius
|
||||||
|
visible: activityList.activeFocus
|
||||||
}
|
}
|
||||||
|
|
||||||
highlightFollowsCurrentItem: true
|
highlightFollowsCurrentItem: true
|
||||||
|
@ -56,6 +56,7 @@ ScrollView {
|
||||||
}
|
}
|
||||||
|
|
||||||
delegate: ActivityItem {
|
delegate: ActivityItem {
|
||||||
|
background: null
|
||||||
width: activityList.contentItem.width
|
width: activityList.contentItem.width
|
||||||
|
|
||||||
isFileActivityList: controlRoot.isFileActivityList
|
isFileActivityList: controlRoot.isFileActivityList
|
||||||
|
|
Загрузка…
Ссылка в новой задаче