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 Developer
pashtan
Posts: 6
Registered: ‎02-05-2009
My Device: Not Specified

Bold 9000 - form layout?

Hi,

I am displaying a form that consists of StringItems that are centered using code as in the following:

 

StringItem line= new StringItem("", "ABCD")

line.setLayout(Item.LAYOUT_CENTER);

lForm.append(line);

 

When the application runs in the Bold 9000 device, the layout directives are ignored and the items are left justified. By the way, the items are centered when the application runs in a simulator.

Any suggestion on how to resolve this?

Thanks for your help!

AP

BlackBerry Development Advisor
MSohm
Posts: 14,753
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Bold 9000 - form layout?

This is caused by an issue with the BlackBerry handheld software.  Our development team is aware of this issue.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker