Reputation: 11928
I have a menu as a class which extends List. There's a native method append(String txt, Image image) which adds a new menu item. The thing is that I want to append a 100% width image as one menu item in the very beginning but if I do this:
append("", image);
it sets the image size as small as the other's. How can I set its width 100% or at least the size of the image?
Upvotes: 0
Views: 921
Reputation: 29670
you can do it with the use of J2ME-Polish
Style. You need to set the width of the MenuItem
and you can achieve it.
Upvotes: 0
Reputation: 41498
Unfortunately, there are no documented controls over how list items are drawn. Drawing of the list items is very dependent on the implementation.
Upvotes: 1