How to specify text color for Gallery Item [message #30217] |
Tue, 27 February 2007 12:23 |
Eclipse User |
|
|
|
Originally posted by: swetha.atc.tcs.co.in
Hi All,
I am using Gallery Widget to display the list of images....I am facing
the following problems........
1... If the grid item text is big one.. the name is not completely
visible...I don't want to increase the size of image...because if I
increase it it looks like blurred image.
2.... If I select the gallery item the name is not visible...how to change
the text color of the item..
3... All the gallery items are added to one Parent gallery item(like
Group header)...what to do if I don't want to show the group name...I just
want to display all the child items...
Please help me in these points....
Thanks in advance,
Swetha
|
|
|
|
Re: How to specify text color for Gallery Item [message #30707 is a reply to message #30252] |
Fri, 02 March 2007 05:27 |
Eclipse User |
|
|
|
Originally posted by: swetha.yahoo.co.in
Hi,
Can you please give me an idea on how to set the text color for the
gallery item when I select it...Because when I select a gallery item its
text is not visible...
If I change the text color to other than Dark_Blue , text is visible...
I want the selection color is Dark_Blue only...Can u tell how to proceed ..
Thanks,
Swetha
|
|
|
|
Re: How to specify text color for Gallery Item [message #31131 is a reply to message #30742] |
Thu, 08 March 2007 08:14 |
Eclipse User |
|
|
|
Originally posted by: swetha.yahoo.co.in
Hi,
DefaultItemRenderer.setForegroundColor sets the color to all the items
in Gallery.
My need is only for selected gallery item I want to change the
foreground color of gallery item as WHITE because when the selection color
is Blue, its text is not visible... that's why I want to set the selected
item foreground color as White..
If I set DefaultItemRenderer.setForegroundColor(White), the
remaining items text is not visible...except the selected item..
Thanks in advance,
Swetha.
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06897 seconds