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

Java Development

Posts: 136
Registered: ‎01-25-2010
My Device: Z30, Z10, Q10, Dev Alpha B & Bold 9900
My Carrier: Bell

Vertically centering a BitmapField column via the TableFieldList control



I’m currently using the TableListField control to display data in a datagrid format. My grid is composed of three columns. One of which is a BitmapField (similar to the RIM lab). My bitmap is displaying correctly, but since the image is smaller than the fonts size of the other two columns, it being painted from the top of the column. Which in terms make bad alignment and does not really look good.


I would like to have my BitmapField vertically centered within the row. Any ideas how this can be accomplished?