Fix N*Pill force show layout
This commit is contained in:
parent
17dceffff6
commit
852e2fa4d1
2 changed files with 2 additions and 2 deletions
|
|
@ -80,7 +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
|
||||
anchors.horizontalCenterOffset: 0 // Center the text properly in the pill
|
||||
text: root.text
|
||||
font.family: Settings.data.ui.fontFixed
|
||||
font.pointSize: Style.fontSizeXXS * scaling
|
||||
|
|
|
|||
|
|
@ -80,7 +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
|
||||
anchors.verticalCenterOffset: 0 // Center the text properly in the pill
|
||||
text: root.text
|
||||
fontSize: Style.fontSizeXXS * scaling
|
||||
fontWeight: Style.fontWeightBold
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue