RibbonBlur: Add more blur radius chooses.
This commit is contained in:
parent
0abdc29319
commit
2071679e40
|
@ -45,10 +45,14 @@ Item {
|
||||||
OpacityMask {
|
OpacityMask {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
source: blur
|
source: blur
|
||||||
maskSource: Rectangle{
|
maskSource: RibbonRectangle{
|
||||||
width: control.width
|
width: control.width
|
||||||
height: control.height
|
height: control.height
|
||||||
radius: control.radius
|
radius: control.radius
|
||||||
|
topLeftRadius: control.topLeftRadius
|
||||||
|
bottomLeftRadius: control.bottomLeftRadius
|
||||||
|
topRightRadius: control.topRightRadius
|
||||||
|
bottomRightRadius: control.bottomRightRadius
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,10 +45,14 @@ Item {
|
||||||
OpacityMask {
|
OpacityMask {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
source: blur
|
source: blur
|
||||||
maskSource: Rectangle{
|
maskSource: RibbonRectangle{
|
||||||
width: control.width
|
width: control.width
|
||||||
height: control.height
|
height: control.height
|
||||||
radius: control.radius
|
radius: control.radius
|
||||||
|
topLeftRadius: control.topLeftRadius
|
||||||
|
bottomLeftRadius: control.bottomLeftRadius
|
||||||
|
topRightRadius: control.topRightRadius
|
||||||
|
bottomRightRadius: control.bottomRightRadius
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue