style: format
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user