Closed GoogleCodeExporter closed 8 years ago
Images can how be added to blocks (r440). Use:
this.appendTitle(new Blockly.FieldImage('http://example.com/cat.gif', 12, 12));
The block factory has been updated with the ability to add images. The text
block has been modified to display a couple of oversized quotes as an example
of the use of images.
Still todo:
* Modify block rendering to expand vertically to fit the image (it does expand
horizontally).
* Add wiki documentation.
Original comment by neil.fra...@gmail.com
on 29 Sep 2012 at 6:22
Blocks now resize to accommodate large images. Documentation has been updated.
Enjoy!
Original comment by neil.fra...@gmail.com
on 30 Sep 2012 at 6:46
Original issue reported on code.google.com by
gasolin
on 10 Sep 2012 at 10:11