pass through border
This commit is contained in:
parent
c82163304c
commit
781ad7a5bc
1 changed files with 3 additions and 0 deletions
|
|
@ -10,6 +10,8 @@ RoundButton {
|
||||||
source: "../assets/lucide.woff"
|
source: "../assets/lucide.woff"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
property alias border: rect.border
|
||||||
|
|
||||||
font.family: loader.font.family
|
font.family: loader.font.family
|
||||||
font.pixelSize: 16
|
font.pixelSize: 16
|
||||||
radius: 8
|
radius: 8
|
||||||
|
|
@ -31,6 +33,7 @@ RoundButton {
|
||||||
}
|
}
|
||||||
|
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
|
id: rect
|
||||||
color: control.hovered ? Theme.palette.primary : Theme.palette.base100
|
color: control.hovered ? Theme.palette.primary : Theme.palette.base100
|
||||||
Behavior on color {
|
Behavior on color {
|
||||||
ColorAnimation {
|
ColorAnimation {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue