From ee65883f974d99a3f642fd973f6f08301d27a168 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 3 Jan 2026 19:34:14 +1100 Subject: internal: fix some widgets not respecting rounding scale --- components/controls/SplitButton.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'components/controls/SplitButton.qml') diff --git a/components/controls/SplitButton.qml b/components/controls/SplitButton.qml index d7f2651..c91474e 100644 --- a/components/controls/SplitButton.qml +++ b/components/controls/SplitButton.qml @@ -36,7 +36,7 @@ Row { spacing: Math.floor(Appearance.spacing.small / 2) StyledRect { - radius: implicitHeight / 2 + radius: implicitHeight / 2 * Math.min(1, Appearance.rounding.scale) topRightRadius: Appearance.rounding.small / 2 bottomRightRadius: Appearance.rounding.small / 2 color: root.disabled ? root.disabledColour : root.colour @@ -96,9 +96,9 @@ Row { StyledRect { id: expandBtn - property real rad: root.expanded ? implicitHeight / 2 : Appearance.rounding.small / 2 + property real rad: root.expanded ? implicitHeight / 2 * Math.min(1, Appearance.rounding.scale) : Appearance.rounding.small / 2 - radius: implicitHeight / 2 + radius: implicitHeight / 2 * Math.min(1, Appearance.rounding.scale) topLeftRadius: rad bottomLeftRadius: rad color: root.disabled ? root.disabledColour : root.colour -- cgit v1.2.3-freya