google / blockly-android

Blockly for Android
Apache License 2.0
673 stars 209 forks source link

FieldImage don't scale down to spec'd width & height #605

Open AnmAtAnm opened 7 years ago

AnmAtAnm commented 7 years ago

If a FieldImage references an image file that is larger than the spec'd width and/or height, it renders the image at its native size.

Expected: The block definition size should override the image native size (as it does when the image file is smaller than spec'd).

screen shot 2017-05-20 at 10 55 44 pm