Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

New Developer
Posts: 41
Registered: ‎07-12-2012
My Device: Orlando, Dev Alpha
My Carrier: Telkomsel

auto fit image size on list view



i know that cascades has GridListLayout to put images in a grid, but can we put images in different sizes on the grid and will automatically fit ?




Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: auto fit image size on list view

You can use ImageView's scalingmethod to control the aspect ratio of images within a GridListLayout...



If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.