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

Posts: 122
Registered: ‎07-26-2008
My Device: 8320, 9500, 9700
My Carrier: Vodafone

How to stop ObjectChoiceField from wrapping?

Hi all,


I have a problem with an ObjectChoiceField, I have a HorizontalFieldManager on a PopupScreen and inside that I have another HorizontalFieldManager which overrides sublayout to fix the width, inside this I have an ObjectChoiceField (with no label and FIELD_LEFT).  


The effect I'm after is a choice field followed by a button - all on one line, I want the choice field to truncate the text to fit but instead it is wrapping like this:




My question is how to force it to use the ELLIPSIS style (I've tried the obvious DrawStyle.ELLIPSIS on the choice field).






New Contributor
Posts: 5
Registered: ‎09-29-2010
My Device: Curve
My Carrier: West Texas Wireless

Re: How to stop ObjectChoiceField from wrapping?

I've got the same problem but in reverse. How did you get the ObjectChoiceField to wrap like that?