summaryrefslogtreecommitdiff
path: root/components/controls/IconTextButton.qml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--components/controls/IconTextButton.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/controls/IconTextButton.qml b/components/controls/IconTextButton.qml
index 0badd7a..b2bb96c 100644
--- a/components/controls/IconTextButton.qml
+++ b/components/controls/IconTextButton.qml
@@ -36,7 +36,7 @@ StyledRect {
onCheckedChanged: internalChecked = checked
- radius: internalChecked ? Appearance.rounding.small : implicitHeight / 2
+ radius: internalChecked ? Appearance.rounding.small : implicitHeight / 2 * Math.min(1, Appearance.rounding.scale)
color: type === IconTextButton.Text ? "transparent" : internalChecked ? activeColour : inactiveColour
implicitWidth: row.implicitWidth + horizontalPadding * 2