mirror of
https://github.com/markqvist/Sideband.git
synced 2024-12-12 01:14:34 -05:00
20 lines
756 B
Plaintext
20 lines
756 B
Plaintext
<StencilWidget>
|
|
canvas.before:
|
|
StencilPush
|
|
RoundedRectangle:
|
|
pos: root.pos
|
|
size: root.size
|
|
# FIXME: Sometimes the radius has the value [], which get a
|
|
# `GraphicException: Invalid radius value, must be list of tuples/numerics` error
|
|
radius: root.radius if root.radius else [0, 0, 0, 0]
|
|
StencilUse
|
|
canvas.after:
|
|
StencilUnUse
|
|
RoundedRectangle:
|
|
pos: root.pos
|
|
size: root.size
|
|
# FIXME: Sometimes the radius has the value [], which get a
|
|
# `GraphicException: Invalid radius value, must be list of tuples/numerics` error
|
|
radius: root.radius if root.radius else [0, 0, 0, 0]
|
|
StencilPop
|