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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Contributor
robinbabu
Posts: 15
Registered: ‎11-14-2012
My Carrier: cellone
Accepted Solution

Set width to objectchoicefield

HI,

 

    I want ObjectChoiceField without label and set its width to Screen width in my project. Suggest me the way to do this

 

 

 

Thanks in advance

Please use plain text.
Developer
simon_hain
Posts: 14,063
Registered: ‎07-29-2008
My Carrier: O2 Germany

Re: Set width to objectchoicefield

check this to learn how to do a custom layout:
http://supportforums.blackberry.com/t5/Java-Development/How-to-Extend-Manager/ta-p/446749

in your case you could also try to overwrite getPreferredWidth, but not sure if it works on a choicefield
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Contributor
robinbabu
Posts: 15
Registered: ‎11-14-2012
My Carrier: cellone

Re: Set width to objectchoicefield

Hi

 

Thanks nice tutorial helped me

Please use plain text.