hi, can I draw outside box bounds? something smili...
# compose
m
hi, can I draw outside box bounds? something smiliar to xml’s
clipToPadding=false
?
using size instead of prefred size seams to work
t
There is a similar modifier clipToBounds() or clip(shape). Some composables do use it. So it depends. Box do not clipToBounds so it is possible to draw outside of the bounds.
c
Compose doesn't clip children by default IIRC
n
Yes compose does not clip any content by default so there is no need to explicitly disable clipping like the framework operates today. You should be able to draw outside the bounds and content should be rendered as expected