As I understand, bounding boxes always reshape to the drawables they contain, without there being a way for certain drawables to opt-out.
It would be good to have a bounds: none option or a draw.no-bounds(body) wrapper that sets the drawable's bounds to none so it does not affect parent bounds. (A better name for this wrapper might be draw.place(body), or draw.float(body). It would complement draw.hide(body) in a sense.)
An example use case is something like in the image below, where it is desired that the canvas bounding box be at the red border, not affected by the long label (a draw.content node).
As I understand, bounding boxes always reshape to the drawables they contain, without there being a way for certain drawables to opt-out.
It would be good to have a
bounds: none
option or adraw.no-bounds(body)
wrapper that sets the drawable's bounds tonone
so it does not affect parent bounds. (A better name for this wrapper might bedraw.place(body)
, ordraw.float(body)
. It would complementdraw.hide(body)
in a sense.)An example use case is something like in the image below, where it is desired that the canvas bounding box be at the red border, not affected by the long label (a
draw.content
node).