Button {
height: Style.standardPrimaryButtonHeight
- icon.source: hovered
- ? "image://svgimage-custom-color/close.svg/" + palette.brightText
- : "image://svgimage-custom-color/close.svg/" + Style.errorBoxBackgroundColor
+ icon.source: "image://svgimage-custom-color/close.svg/" + palette.buttonText
+ icon.height: Style.extraSmallIconSize
text: qsTr("Unshare")
onClicked: root.deleteShare()
}
Button {
height: Style.standardPrimaryButtonHeight
- icon.source: hovered
- ? "image://svgimage-custom-color/add.svg/" + palette.brightText
- : "image://svgimage-custom-color/add.svg/" + root.accentColor
+ icon.source: "image://svgimage-custom-color/add.svg/" + palette.buttonText
+ icon.height: Style.extraSmallIconSize
text: qsTr("Add another link")
visible: root.isLinkShare && root.canCreateLinkShares
enabled: visible
property int iconButtonWidth: 36\r
property int standardPrimaryButtonHeight: 40\r
readonly property int smallIconSize: 16\r
+ readonly property int extraSmallIconSize: 8\r
\r
property int minActivityHeight: variableSize(32)\r
\r