pages: set correct icon fallback opacity

This commit is contained in:
selsta 2021-05-21 03:32:43 +02:00
parent b58bff39a0
commit dbda233b94
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E
3 changed files with 11 additions and 7 deletions

View file

@ -301,7 +301,8 @@ Rectangle {
fontAwesomeFallbackIcon: FontAwesome.edit fontAwesomeFallbackIcon: FontAwesome.edit
fontAwesomeFallbackSize: 22 fontAwesomeFallbackSize: 22
color: MoneroComponents.Style.defaultFontColor color: MoneroComponents.Style.defaultFontColor
opacity: 0.5 opacity: isOpenGL ? 0.5 : 1
fontAwesomeFallbackOpacity: 0.5
Layout.preferredWidth: 23 Layout.preferredWidth: 23
Layout.preferredHeight: 21 Layout.preferredHeight: 21
tooltip: qsTr("Edit account label") + translationManager.emptyString tooltip: qsTr("Edit account label") + translationManager.emptyString
@ -315,7 +316,8 @@ Rectangle {
fontAwesomeFallbackIcon: FontAwesome.clipboard fontAwesomeFallbackIcon: FontAwesome.clipboard
fontAwesomeFallbackSize: 22 fontAwesomeFallbackSize: 22
color: MoneroComponents.Style.defaultFontColor color: MoneroComponents.Style.defaultFontColor
opacity: 0.5 opacity: isOpenGL ? 0.5 : 1
fontAwesomeFallbackOpacity: 0.5
Layout.preferredWidth: 16 Layout.preferredWidth: 16
Layout.preferredHeight: 21 Layout.preferredHeight: 21
tooltip: qsTr("Copy address to clipboard") + translationManager.emptyString tooltip: qsTr("Copy address to clipboard") + translationManager.emptyString

View file

@ -209,7 +209,7 @@ Rectangle {
id: sendToButton id: sendToButton
image: "qrc:///images/arrow-right-in-circle-outline-medium-white.svg" image: "qrc:///images/arrow-right-in-circle-outline-medium-white.svg"
color: MoneroComponents.Style.defaultFontColor color: MoneroComponents.Style.defaultFontColor
opacity: 0.5 opacity: isOpenGL ? 0.5 : 1
fontAwesomeFallbackIcon: FontAwesome.arrowRight fontAwesomeFallbackIcon: FontAwesome.arrowRight
fontAwesomeFallbackSize: 22 fontAwesomeFallbackSize: 22
fontAwesomeFallbackOpacity: 0.5 fontAwesomeFallbackOpacity: 0.5
@ -238,7 +238,7 @@ Rectangle {
id: renameButton id: renameButton
image: "qrc:///images/edit.svg" image: "qrc:///images/edit.svg"
color: MoneroComponents.Style.defaultFontColor color: MoneroComponents.Style.defaultFontColor
opacity: 0.5 opacity: isOpenGL ? 0.5 : 1
fontAwesomeFallbackIcon: FontAwesome.edit fontAwesomeFallbackIcon: FontAwesome.edit
fontAwesomeFallbackSize: 22 fontAwesomeFallbackSize: 22
fontAwesomeFallbackOpacity: 0.5 fontAwesomeFallbackOpacity: 0.5
@ -256,7 +256,7 @@ Rectangle {
id: copyButton id: copyButton
image: "qrc:///images/copy.svg" image: "qrc:///images/copy.svg"
color: MoneroComponents.Style.defaultFontColor color: MoneroComponents.Style.defaultFontColor
opacity: 0.5 opacity: isOpenGL ? 0.5 : 1
fontAwesomeFallbackIcon: FontAwesome.clipboard fontAwesomeFallbackIcon: FontAwesome.clipboard
fontAwesomeFallbackSize: 22 fontAwesomeFallbackSize: 22
fontAwesomeFallbackOpacity: 0.5 fontAwesomeFallbackOpacity: 0.5

View file

@ -200,7 +200,8 @@ Rectangle {
fontAwesomeFallbackIcon: FontAwesome.edit fontAwesomeFallbackIcon: FontAwesome.edit
fontAwesomeFallbackSize: 22 fontAwesomeFallbackSize: 22
color: MoneroComponents.Style.defaultFontColor color: MoneroComponents.Style.defaultFontColor
opacity: 0.5 opacity: isOpenGL ? 0.5 : 1
fontAwesomeFallbackOpacity: 0.5
Layout.preferredWidth: 23 Layout.preferredWidth: 23
Layout.preferredHeight: 21 Layout.preferredHeight: 21
visible: index !== 0 visible: index !== 0
@ -217,7 +218,8 @@ Rectangle {
fontAwesomeFallbackIcon: FontAwesome.clipboard fontAwesomeFallbackIcon: FontAwesome.clipboard
fontAwesomeFallbackSize: 22 fontAwesomeFallbackSize: 22
color: MoneroComponents.Style.defaultFontColor color: MoneroComponents.Style.defaultFontColor
opacity: 0.5 opacity: isOpenGL ? 0.5 : 1
fontAwesomeFallbackOpacity: 0.5
Layout.preferredWidth: 16 Layout.preferredWidth: 16
Layout.preferredHeight: 21 Layout.preferredHeight: 21
tooltip: qsTr("Copy address to clipboard") + translationManager.emptyString tooltip: qsTr("Copy address to clipboard") + translationManager.emptyString