Apply opacity to picture and badge as a group
It matters when page is being dimmed
This commit is contained in:
parent
a8ad2a6a22
commit
f9a824ca2c
1 changed files with 6 additions and 7 deletions
|
@ -33,15 +33,14 @@ ListItem {
|
||||||
height: contentColumn.height
|
height: contentColumn.height
|
||||||
spacing: Theme.paddingMedium
|
spacing: Theme.paddingMedium
|
||||||
|
|
||||||
Column {
|
ShaderEffectSource {
|
||||||
id: pictureColumn
|
id: pictureItem
|
||||||
width: contentColumn.height - Theme.paddingSmall
|
width: contentColumn.height - Theme.paddingSmall
|
||||||
height: contentColumn.height - Theme.paddingSmall
|
height: contentColumn.height - Theme.paddingSmall
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
sourceItem: Item {
|
||||||
Item {
|
width: pictureItem.width
|
||||||
width: parent.width
|
height: pictureItem.width
|
||||||
height: parent.width
|
|
||||||
|
|
||||||
ProfileThumbnail {
|
ProfileThumbnail {
|
||||||
id: pictureThumbnail
|
id: pictureThumbnail
|
||||||
|
@ -93,7 +92,7 @@ ListItem {
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
id: contentColumn
|
id: contentColumn
|
||||||
width: mainColumn.width - pictureColumn.width - mainRow.spacing
|
width: mainColumn.width - pictureItem.width - mainRow.spacing
|
||||||
spacing: Theme.paddingSmall
|
spacing: Theme.paddingSmall
|
||||||
|
|
||||||
Row {
|
Row {
|
||||||
|
|
Loading…
Reference in a new issue