Skip to content
Snippets Groups Projects
Commit e5fc9cc4 authored by Prince Gupta's avatar Prince Gupta :speech_balloon: Committed by Steve Lhomme
Browse files

qml: don't put new indicator as child of GridItem

fixes new indicator not visible anymore

fix regression from cbc63a0a
since the commit, content item is raised you can't put
element there anymore
parent ceb1cef1
No related branches found
No related tags found
1 merge request!6073qml: don't put new indicator as child of GridItem
Pipeline #518539 passed with stages
in 32 minutes and 34 seconds
......@@ -27,7 +27,7 @@ import VLC.Style
Widgets.GridItem {
id: root
property alias showNewIndicator: image.visible
property bool showNewIndicator: false
property var labels
......@@ -50,6 +50,20 @@ Widgets.GridItem {
width: root.pictureWidth
height: root.pictureHeight
Widgets.ScaledImage {
id: image
anchors.right: parent.right
anchors.top: parent.top
width: VLCStyle.gridItem_newIndicator
height: width
visible: root.showNewIndicator
source: VLCStyle.newIndicator
}
Widgets.VideoQualityLabels {
anchors {
top: parent.top
......@@ -79,18 +93,4 @@ Widgets.GridItem {
}
onPlayClicked: root.play()
Widgets.ScaledImage {
id: image
anchors.right: parent.right
anchors.top: parent.top
width: VLCStyle.gridItem_newIndicator
height: width
visible: false
source: VLCStyle.newIndicator
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment