aboutsummaryrefslogtreecommitdiff
path: root/components/InlineButton.qml
diff options
context:
space:
mode:
authorrating89us <45968869+rating89us@users.noreply.github.com>2021-07-22 20:47:12 +0200
committerrating89us <45968869+rating89us@users.noreply.github.com>2021-11-21 19:28:36 +0100
commitcc8ddde01be4460e6ae6364c9ac1118edabe03eb (patch)
tree6cd7b64a33af3e5c3320dec613ea95fe470b9904 /components/InlineButton.qml
parentecf5c501d61bf5f85fb69fd9136cd0235f97f7b8 (diff)
downloadmonzero-gui-cc8ddde01be4460e6ae6364c9ac1118edabe03eb.tar.gz
monzero-gui-cc8ddde01be4460e6ae6364c9ac1118edabe03eb.tar.xz
monzero-gui-cc8ddde01be4460e6ae6364c9ac1118edabe03eb.zip
Transfer: fix button colors, font size, bold; use secondary button for advanced options
Diffstat (limited to 'components/InlineButton.qml')
-rw-r--r--components/InlineButton.qml6
1 files changed, 1 insertions, 5 deletions
diff --git a/components/InlineButton.qml b/components/InlineButton.qml
index 09d3aadf..1983f29b 100644
--- a/components/InlineButton.qml
+++ b/components/InlineButton.qml
@@ -64,7 +64,7 @@ Item {
Rectangle{
id: rect
anchors.fill: parent
- color: MoneroComponents.Style.buttonInlineBackgroundColor
+ color: buttonArea.containsMouse ? MoneroComponents.Style.buttonInlineBackgroundColorHover : MoneroComponents.Style.buttonInlineBackgroundColor
radius: 4
@@ -101,13 +101,9 @@ Item {
}
onEntered: {
tooltip.text ? tooltip.tooltipPopup.open() : ""
- rect.color = buttonColor ? buttonColor : "#707070";
- rect.opacity = 0.8;
}
onExited: {
tooltip.text ? tooltip.tooltipPopup.close() : ""
- rect.opacity = 1.0;
- rect.color = buttonColor ? buttonColor : "#808080";
}
}
}