I have floating button and image inside. And I need image to change size filling all space inside like here:|
I tried different scale types but it did't work. I got this result for now.
Finally I found the solution - maxImageSize. It worked, but now I need to set Fbutton size programmatically and I can't find the way to change maxImageSize in code.

