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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 146
Registered: ‎11-05-2008
My Device: Not Specified

problem on FlowHorizontalManager

Hi,

I have added more than 5 label fields to FlowhorizontalManager.But every label fields takes the new row,where there is enough space to add second labelfield at same row.how can i solve it?Please help me out.

Thanx

Developer
Posts: 146
Registered: ‎11-05-2008
My Device: Not Specified

Re: problem on FlowHorizontalManager

I couldn't solve it,why every fields takes new row,when there is enough space to add another field.please help me.

BlackBerry Development Advisor
Posts: 15,889
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: problem on FlowHorizontalManager

The LabelField is designed to take up the full width available.  This means additional LabelFields will appear on the next line in a FlowFieldManager.  You could use a HorizonalFieldManager instead, which would allow you to place multiple fields on the same line.  Or you could could create a custom LabelField where you control its width.  This post has an example for ButtonField.

 

http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=6925&query.id=198...

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Developer
Posts: 146
Registered: ‎11-05-2008
My Device: Not Specified

Re: problem on FlowHorizontalManager

Actually at first time i wanted to add a lot of fields to horizontal field manager.i had been fixed manager's width with setlayout method..But the field doesn't takes next row,if there is not enough room to add another field.That's why i have used floehorizontal field manager.But Here all the field add at new row.Thist the actually problem.
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: problem on FlowHorizontalManager

What Mark says is correct and should solve your problem.  You should also review this thread

http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=10686&query.id=19...