Hello,
I'm having some problems with tilegrid and images. Even if i set a big tileWidth my images are cropped on the right side.
My tile grid:
You can check the attached image that shows how my image shows up. Note that this image width is only 128px while my tileWidth is 300.
Any ideas of how can i fix this?
This tile grid is within a window that has width set to 800px.
Thanks!
I'm having some problems with tilegrid and images. Even if i set a big tileWidth my images are cropped on the right side.
My tile grid:
Code:
isc.TileGrid.create({ ID: 'templateGrid', tileWidth:300, tileHeight:190, height:400, width:"100%", showAllRecords:true, autoDraw: false, dataSource: templateDataSource, fields: [ {name:"image", type:"image", imageURLPrefix:"../../img/templates/"}, {name:"name"} ] });
Any ideas of how can i fix this?
This tile grid is within a window that has width set to 800px.
Thanks!
Comment