diff --git a/Widgets/NHorizontalPill.qml b/Widgets/NHorizontalPill.qml index 68963bda..4e50aa65 100644 --- a/Widgets/NHorizontalPill.qml +++ b/Widgets/NHorizontalPill.qml @@ -80,6 +80,7 @@ Item { id: textItem anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter + anchors.horizontalCenterOffset: openLeftward ? -6 * scaling : 6 * scaling // Adjust based on opening direction text: root.text font.pointSize: Style.fontSizeXXS * scaling font.weight: Style.fontWeightBold diff --git a/Widgets/NVerticalPill.qml b/Widgets/NVerticalPill.qml index e955c951..f1ff4036 100644 --- a/Widgets/NVerticalPill.qml +++ b/Widgets/NVerticalPill.qml @@ -80,6 +80,7 @@ Item { id: textItem anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter + anchors.verticalCenterOffset: openUpward ? -6 * scaling : 6 * scaling // Adjust based on opening direction text: root.text fontSize: Style.fontSizeXXS * scaling fontWeight: Style.fontWeightBold