Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java Micro Edition and the fly likes CustomItem : Label dont Expand Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "CustomItem : Label dont Expand" Watch "CustomItem : Label dont Expand" New topic
Author

CustomItem : Label dont Expand

Vinicius Souza
Ranch Hand

Joined: May 18, 2011
Posts: 45

Hello ppls!
Im creating a CustomItem called Label. I need that this item respect the CustomItem.LAYOUT_EXPAND style but I dont know how to handle correctly this notification. Below my code for Label:

Any clue about why its not working ? Why the Label dont respect its width change?
Thanks in advance.


Java is the best (I love C too) heehhh
 
Don't get me started about those stupid light bulbs.
 
subject: CustomItem : Label dont Expand
 
Similar Threads
Text in java.awt.Rectangle
Creation and Event linkage (JavaME CLDC 1.1 MIDP 2.0)
How to know the number of items in your Seralization/Deserialization stream?
CustomItem not working on Nokia XpressMusic smartphone
Creating Arrow Icon Help