mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-19 18:18:38 +00:00
fix(@desktop/statusq): Fix icons background square, but must be circle
regression. Fixes: #9714
This commit is contained in:
parent
c55fb96652
commit
e6226ab564
@ -18,6 +18,7 @@ Row {
|
|||||||
height: Math.min(bgHeight, dummyImage.height)
|
height: Math.min(bgHeight, dummyImage.height)
|
||||||
bgWidth: root.tiny ? 10 : 16.5
|
bgWidth: root.tiny ? 10 : 16.5
|
||||||
bgHeight: root.tiny ? 10 : 16.5
|
bgHeight: root.tiny ? 10 : 16.5
|
||||||
|
bgRadius: bgWidth / 2
|
||||||
bgColor: Theme.palette.primaryColor1
|
bgColor: Theme.palette.primaryColor1
|
||||||
// Only used to get implicit width and height from the actual image
|
// Only used to get implicit width and height from the actual image
|
||||||
property Image dummyImage: Image {
|
property Image dummyImage: Image {
|
||||||
@ -35,6 +36,7 @@ Row {
|
|||||||
height: Math.min(bgHeight, dummyImage.height)
|
height: Math.min(bgHeight, dummyImage.height)
|
||||||
bgWidth: root.tiny ? 10 : 16
|
bgWidth: root.tiny ? 10 : 16
|
||||||
bgHeight: root.tiny ? 10 : 16
|
bgHeight: root.tiny ? 10 : 16
|
||||||
|
bgRadius: bgWidth / 2
|
||||||
bgColor: root.trustIndicator === StatusContactVerificationIcons.TrustedType.Verified ? Theme.palette.primaryColor1 : Theme.palette.dangerColor1
|
bgColor: root.trustIndicator === StatusContactVerificationIcons.TrustedType.Verified ? Theme.palette.primaryColor1 : Theme.palette.dangerColor1
|
||||||
// Only used to get implicit width and height from the actual image
|
// Only used to get implicit width and height from the actual image
|
||||||
property Image dummyImage: Image {
|
property Image dummyImage: Image {
|
||||||
|
@ -25,6 +25,7 @@ Rectangle {
|
|||||||
color: Theme.palette.directColor1
|
color: Theme.palette.directColor1
|
||||||
bgWidth: 32
|
bgWidth: 32
|
||||||
bgHeight: 32
|
bgHeight: 32
|
||||||
|
bgRadius: bgWidth / 2
|
||||||
bgColor: Theme.palette.primaryColor2
|
bgColor: Theme.palette.primaryColor2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,6 +46,7 @@ Rectangle {
|
|||||||
Theme.palette.dangerColor1 : Theme.palette.primaryColor1
|
Theme.palette.dangerColor1 : Theme.palette.primaryColor1
|
||||||
bgWidth: 40
|
bgWidth: 40
|
||||||
bgHeight: 40
|
bgHeight: 40
|
||||||
|
bgRadius: bgWidth / 2
|
||||||
bgColor: {
|
bgColor: {
|
||||||
if (sensor.containsMouse) {
|
if (sensor.containsMouse) {
|
||||||
return type === StatusListItem.Type.Secondary ||
|
return type === StatusListItem.Type.Secondary ||
|
||||||
|
@ -28,6 +28,7 @@ Control {
|
|||||||
bgWidth: 15
|
bgWidth: 15
|
||||||
bgHeight: 15
|
bgHeight: 15
|
||||||
bgColor: Theme.palette.primaryColor3
|
bgColor: Theme.palette.primaryColor3
|
||||||
|
bgRadius: bgWidth / 2
|
||||||
imgIsIdenticon: false
|
imgIsIdenticon: false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@ Loader {
|
|||||||
property StatusAssetSettings asset: StatusAssetSettings {
|
property StatusAssetSettings asset: StatusAssetSettings {
|
||||||
width: 40
|
width: 40
|
||||||
height: 40
|
height: 40
|
||||||
|
bgRadius: bgWidth / 2
|
||||||
}
|
}
|
||||||
|
|
||||||
property StatusIdenticonRingSettings ringSettings: StatusIdenticonRingSettings {
|
property StatusIdenticonRingSettings ringSettings: StatusIdenticonRingSettings {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user