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

New Contributor
Posts: 5
Registered: ‎04-20-2010
My Device: 8700
My Carrier: o2

Centering a GridFieldManager, is it possible?

Hi there,

I've created a grid using GridFieldManager (from the 5.0 beta not the custom one) and I can't seem to get it to center on the screen.

Is there are way of putting it in the center, either seperately - vertically then horizontally (or vice versa) or a function which does it in one? It'd be nice to know if you can do it seperately.

Would I have to first add it to another fieldmanager?


Thanks in advance

New Contributor
Posts: 9
Registered: ‎07-27-2010
My Device: Not Specified

Re: Centering a GridFieldManager, is it possible?

Does anyone have a solution for this? I have the same problem. It appears the GFM uses the entire screen width. Is it possible to center the GFM and all of its cells? ie:
| c | <- 1 row, 1 col, center of screen
| cc | <- 1 row, 2 col, center of screen
| ccc | <- 1 row, 3 col, center of screen