Welcome!

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

Reply
Developer
Posts: 255
Registered: ‎05-03-2012
My Device: 9930
My Carrier: Vodafone

HorizontalFieldManager Problem

I have a HorizontalFieldManager which consist of 4 BitmapFields and and 4 lables for its description. For BitmapField  and label there are 4 different VerticalFieldMangers.Those are added to HorizontalFieldManager.I want that This HorizontalFieldManager should be displayed at the center of the screen.Please help. I tried style HorizontalFieldManager .HCENTER and HorizontalFieldManager .VCENTER. But its not working.

Developer
Posts: 139
Registered: ‎02-23-2012
My Device: Blackberry bold
My Carrier: Vodafone India

Re: HorizontalFieldManager Problem

Can you please show the screen shot of what you the screen get displayed and why you are trying to add four vertical field to a horizontal field ??
warm regards
Mohammed Aziz
Developer
Posts: 255
Registered: ‎05-03-2012
My Device: 9930
My Carrier: Vodafone

Re: HorizontalFieldManager Problem

Sample.png

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: HorizontalFieldManager Problem

[ Edited ]

There is, as far as I am aware, no simple way to display something at the centre of the Screen, both Vertically and Horizontally.  If you want to do this, then you should write your own Manager.  I think someone has written one, search for CenteringManager or something like this.  Otherwise you can review the following and write your own!

 

http://supportforums.blackberry.com/t5/Java-Development/How-to-Extend-Manager/ta-p/446749

 

http://supportforums.blackberry.com/t5/Java-Development/Create-a-custom-layout-manager-for-a-screen/...