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: 96
Registered: ‎06-11-2009
My Device: Not Specified

Help Aligning fields

Hello All,

 

I am trying to acheive a screen similar to the one shown in the image attached:

 

 

I tried the following but in vain:

 

1 HFM using_all_width in which I put:

- The LabelField which is Field.FIELD_LEFT

- 1 VFM using_all_width in which I put my EditField which is Field.FIELD_RIGHT

 

Can someone kindly help me with this. Thanks in advance.

 

Regards,

S.A.Norton Stanley

 

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

Re: Help Aligning fields

In all honesty, I think your best bet is to write your own layout tManager.

 

Have a look at the managers in here:

http://supportforums.blackberry.com/t5/Java-Development/Implement-advanced-buttons-fields-and-manage...

 

They are all written OK.  Look at a smallish one, check out what it does, then write something similar for yourself.  I avoided doing this for years figuring it was better to try to get things working with the standard managers, but that was a mistake. 

 

See also:

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

Developer
Posts: 96
Registered: ‎06-11-2009
My Device: Not Specified

Re: Help Aligning fields

Hello Peter,

 

Thank you. I will try working on my own layout manager.

 

Regards,

S.A.Norton Stanley