Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CustomItem : Label dont Expand

 
Vinicius Souza
Ranch Hand
Posts: 70
1
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic