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
Developer
Developer
gtj
Posts: 319
Registered: ‎07-20-2008

Default 9000 theme seems to remove underlines from non-selected list box items

In the 9000 simulator (4.6.0.92) the PopupScreen theme seems to remove the underlines from list box items that aren't selected.

 

The following code shows underlines on all items in the list box on all platforms except the 9000.

 

 

Dialog p = new Dialog(Dialog.D_OK_CANCEL, "Test", 0, null, 0); ObjectListField olf = new ObjectListField(); olf.setFont(getFont().derive(Font.UNDERLINED)); String[] s = {"abc", "def", "ghj"}; olf.set(s); p.add(olf); getUiEngine().pushScreen(p);

 

On the 9000, only the row with the focus has the underline.  If I remove the theme with the undocumented-yet-extremely-useful applyTheme() call, I get the expected behavior.

 

I implement my own menus with the shortcut characters underlined so it's important to see the underlines on non selected items.

 

Bug or feature?

 

 

 

 

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: Default 9000 theme seems to remove underlines from non-selected list box items

I have reported this issue to our development team.  Thanks for reporting it!

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
Developer
Developer
gtj
Posts: 319
Registered: ‎07-20-2008

Re: Default 9000 theme seems to remove underlines from non-selected list box items

Thanks Mark!

 

Please use plain text.