Merge pull request #257 from monich/badge-opacity
Apply opacity to picture and badge as a group
This commit is contained in:
commit
f1b14f41ae
1 changed files with 6 additions and 7 deletions
|
@ -33,15 +33,14 @@ ListItem {
|
|||
height: contentColumn.height
|
||||
spacing: Theme.paddingMedium
|
||||
|
||||
Column {
|
||||
id: pictureColumn
|
||||
ShaderEffectSource {
|
||||
id: pictureItem
|
||||
width: contentColumn.height - Theme.paddingSmall
|
||||
height: contentColumn.height - Theme.paddingSmall
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
Item {
|
||||
width: parent.width
|
||||
height: parent.width
|
||||
sourceItem: Item {
|
||||
width: pictureItem.width
|
||||
height: pictureItem.width
|
||||
|
||||
ProfileThumbnail {
|
||||
id: pictureThumbnail
|
||||
|
@ -93,7 +92,7 @@ ListItem {
|
|||
|
||||
Column {
|
||||
id: contentColumn
|
||||
width: mainColumn.width - pictureColumn.width - mainRow.spacing
|
||||
width: mainColumn.width - pictureItem.width - mainRow.spacing
|
||||
spacing: Theme.paddingSmall
|
||||
|
||||
Row {
|
||||
|
|
Loading…
Reference in a new issue