BlackBerry Forums Support Community               

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: laurre
Forum: Developer Forum 08-30-2011, 07:17 AM
Replies: 3
Views: 1,544
Posted By laurre
Re: Display problem overriding ButtonField

It seems that another thing is done in the super.layout() method. Seems to be an internal stuff, for text positioning I think.

The technique I have found, even if it is not the best one I guess :

-...
Forum: Developer Forum 08-29-2011, 10:17 AM
Replies: 3
Views: 1,544
Posted By laurre
Re: Display problem overriding ButtonField

I have already debugged : the value for width is 324 (the display's width is 360), and for height 1073741743, but in my case I ignore this last value, so it should be ok...

getPreferredHeight()...
Forum: Developer Forum 08-29-2011, 08:24 AM
Replies: 3
Views: 1,544
Posted By laurre
Display problem overriding ButtonField

Hello,

I have a problem overriding ButtonField. As the Field.USE_ALL_WIDTH flag doesn't work for ButtonField, I have to extend it.

I just override the layout method like this :

protected void...
Forum: Developer Forum 08-25-2011, 04:36 AM
Replies: 1
Views: 1,425
Posted By laurre
ObjectChoiceField and Field.USE_ALL_WIDTH

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...
Showing results 1 to 4 of 4

 
Forum Jump




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