BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-25-2011, 05:36 AM   #1 (permalink)
New Member
 
Join Date: Aug 2011
Model: 7100T
PIN: N/A
Carrier: Az
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default ObjectChoiceField and Field.USE_ALL_WIDTH

Please Login to Remove!

Hello,

I would like to know if the flag style Field.USE_ALL_WIDTH is supported for an ObjectChoiceField component. I try to use it but it doesn't work. I was expecting the field to take all the width of its container (in my case the screen's width).

I have tried to override the layout method, and I call setExtent correctly, with the screen's width as parameter, but it's still the same.

How could I make the field take all the available width ?

Thanks

Edit : I use the JDE 4.7.0, and the 9530 Simulator.

Last edited by laurre : 08-25-2011 at 05:48 AM.
Offline  
Old 08-25-2011, 09:28 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: ObjectChoiceField and Field.USE_ALL_WIDTH

My advice would be to use ObjectListField instead.

ObjectChoiceField is meant to be a form control, and the list itself will take its width from the widest member.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: ObjectChoiceField and Field.USE_ALL_WIDTH
Thread Thread Starter Forum Replies Last Post
Need help for resize the ButtonField and the ObjectChoiceField bitpanda Developer Forum 0 08-20-2010 10:48 PM
ObjectChoiceField alignment problem in JDE 4.5.0 suspiration Developer Forum 1 07-27-2008 10:08 AM
Newbie First Attempt - Datacapture & Http post/push issues myworldntl Developer Forum 1 07-23-2008 02:03 PM
objectchoicefield and "change option" menuItem focus suspiration Developer Forum 0 04-11-2008 02:28 PM
objectchoiceField issue amit.prabhat Developer Forum 3 01-22-2008 04:13 AM





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.