|
Replies:
2
-
Last Post:
Oct 7, 2008 5:54 AM
by: kawaiimomo
|
|
|
|
|
|
|
Manually set clipping for the icon in a Label?
Posted:
Oct 7, 2008 3:40 AM
|
|
|
Hi all,
I'm implementing a Loading bar which shows the real percentage sent of total data. My first idea was to recreate the image everytime (it's just two vertical gradients forming a progress bar).
Then I thought why recreating the image over and over if I could set the full bar and modify the clipping area for the Label icon? It's this possible? It's worth it?
Thanks
|
|
|
|
|
|
|
Re: Manually set clipping for the icon in a Label?
Posted:
Oct 7, 2008 5:15 AM
in response to: kawaiimomo
|
|
|
Hi, I think this is what you're looking for: http://lwuit.blogspot.com/2008/05/progress-indicator-threads-in-lwuit.html
Chen
lwuit-users@mobileandembedded.org wrote: > Hi all, > > I'm implementing a Loading bar which shows the real percentage sent of total data. My first idea was to recreate the image everytime (it's just two vertical gradients forming a progress bar). > > Then I thought why recreating the image over and over if I could set the full bar and modify the clipping area for the Label icon? It's this possible? It's worth it? > > Thanks > [Message sent by forum member 'kawaiimomo' (kawaiimomo)] > > http://forums.java.net/jive/thread.jspa?messageID=303700 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net > For additional commands, e-mail: users-help@lwuit.dev.java.net > > >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net For additional commands, e-mail: users-help@lwuit.dev.java.net
|
|
|
|
|
|
|
|
Re: Manually set clipping for the icon in a Label?
Posted:
Oct 7, 2008 5:54 AM
in response to: Chen Fishbein
|
|
|
Hi Chen,
yes, it is. I encourage myself and everybody to check first on lwuit blog before posting, as many subjects has been explained in detail and with examples.
Thanks
|
|
|
|
|