How to scale svg when added to a DrawableComposite?


#1

I have a DrawableComposite to which I added a drawablePath and an Drawable svg.

Then I created a DrawableButton with the option DrawableButton::ImageRaw from the DrawableComposite.

But I cant figure out how to scale the svg inside the DrawableComposite?


I tried
 

setTransformToFit

on the Drawable Svg  but it seems to have no effect?


#2

Hi Ahbee, this should be fixed in the latest tip. Does the change work for you?


#3

Seems like its working,  thanks!