style: format

This commit is contained in:
talksik
2025-04-12 12:47:38 -07:00
parent 4ae90f906b
commit 6e6e81dbb6
10 changed files with 250 additions and 245 deletions
+8 -9
View File
@@ -9,14 +9,14 @@ Button {
font.bold: true
contentItem: IconLabel {
spacing: control.spacing
mirrored: control.mirrored
display: control.display
spacing: control.spacing
mirrored: control.mirrored
display: control.display
icon: control.icon
text: control.text
font: control.font
color: "#FFFFFF"
icon: control.icon
text: control.text
font: control.font
color: "#FFFFFF"
}
background: Rectangle {
@@ -24,8 +24,7 @@ Button {
implicitWidth: 100
implicitHeight: 40
visible: !control.flat || control.down || control.checked || control.highlighted
color: Color.blend(control.checked || control.highlighted ? control.palette.dark : control.palette.button,
control.palette.mid, control.down ? 0.5 : 0.0)
color: Color.blend(control.checked || control.highlighted ? control.palette.dark : control.palette.button, control.palette.mid, control.down ? 0.5 : 0.0)
border.color: control.palette.highlight
border.width: control.visualFocus ? 2 : 0
// custom