mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
Use custombutton for dismiss button, give hover feedback
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
867fae1ff3
commit
97c33d396c
1 changed files with 4 additions and 4 deletions
|
@ -175,7 +175,7 @@ RowLayout {
|
|||
visible: text !== ""
|
||||
}
|
||||
|
||||
RoundButton {
|
||||
CustomButton {
|
||||
id: dismissActionButton
|
||||
|
||||
Layout.preferredWidth: Style.dismissButtonSize
|
||||
|
@ -184,12 +184,12 @@ RowLayout {
|
|||
|
||||
visible: root.showDismissButton && !fileDetailsButton.visible
|
||||
|
||||
icon.source: "image://svgimage-custom-color/clear.svg" + "/" + Style.ncTextColor
|
||||
icon.source: "image://svgimage-custom-color/clear.svg/" + Style.ncTextColor
|
||||
|
||||
flat: true
|
||||
display: Button.IconOnly
|
||||
hoverEnabled: true
|
||||
padding: 0
|
||||
bgColor: Style.lightHover
|
||||
bgNormalOpacity: 0
|
||||
|
||||
NCToolTip {
|
||||
text: qsTr("Dismiss")
|
||||
|
|
Loading…
Reference in a new issue