formatting

This commit is contained in:
quadbyte 2025-08-14 18:21:02 -04:00
parent 73c7ba8cdc
commit 4b161facca
8 changed files with 10 additions and 11 deletions

View file

@ -42,7 +42,8 @@ Rectangle {
font.variableAxes: {
"wght": (Font.Normal + Font.Bold) / 2.0
}
color: (root.hovering || showFilled) ? Colors.colorOnPrimary : showBorder ? Colors.colorPrimary : Colors.colorOnSurface
color: (root.hovering
|| showFilled) ? Colors.colorOnPrimary : showBorder ? Colors.colorPrimary : Colors.colorOnSurface
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
opacity: root.enabled ? Style.opacityFull : Style.opacityMedium