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
New Contributor
Posts: 8
Registered: ‎06-02-2013
My Device: non-blackberry user
My Carrier: AXIS Indonesia

How to set left of Vertical Field Manager

Hi all, I have one problem...

 

In my screen I have vertical field manager and i just add it into my screen. I had added and it showed in very left, how to set left of vertical field manager (or maybe padding in this case. I dont know)?

Thx all

Developer
Posts: 133
Registered: ‎05-10-2013
My Device: Blackberry Z10
My Carrier: -

Re: How to set left of Vertical Field Manager

Read the API on VerticalFieldManager, and you'll find that margins and padding are available. Use setMargin(int top, int right, int bottom, int left) and setPadding(int top, int right, int bottom, int left). You could also use setPosition(int x, int y) to set it at x+(some right movement).

----------------------------------------
Remember to mark the thread as solved at the post that solved your problem, and if you like a post, like it!
Developer
Posts: 109
Registered: ‎08-23-2012
My Device: Blackberry Z10
My Carrier: TATA DOCOMO

Re: How to set left of Vertical Field Manager

You can also use Filed.Field_LEFT property in the parameter of the defination of the Vertical Field Manager.

Dharmender Singh