SVG bounding box

Sorry to resurrect an old thread, but I’m having a similar problem with DrawableButton…

Jules’ drawToFit approach works nicely when I’m drawing SVGs myself. But when using DrawableButton, I don’t have control over the drawing logic, as it’s simply just an internal Drawable child component of the DrawableButton.

No matter what image style I choose, the DrawableButton does not respect the SVG’s bounding box.

I’ll create a new topic with an example.

Edit: Here it is: DrawableButton and SVG bounding boxes