Page 1 of 1
Fading color in glossy buttons
Posted: Wed Apr 24, 2013 8:32 am
by fsturlese
Hello,
when using the "glossy" style for pushbuttons, the background will fade from the chosen background color to white. If a dark color is chosen as a background, and a light color for text, the multi-line text is hard to read (see the file attached).
Is there any way to change the fading color to something different than white?
Thank you.
Federico.
![Image1.jpg](./download/file.php?id=566&sid=54e815044dd814410a36f42fa530c1b7)
- Image1.jpg (11.83 KiB) Viewed 6858 times
Re: Fading color in glossy buttons
Posted: Wed Apr 24, 2013 10:00 am
by mark.monroe
The Glossy style forces the button to have a whitish hue like that. You can change the gradients on both sides, but it will still have a shine to it.
![Snap 2013-04-24 at 09.58.47.png](./download/file.php?id=567&sid=54e815044dd814410a36f42fa530c1b7)
- Snap 2013-04-24 at 09.58.47.png (44.67 KiB) Viewed 6856 times
Re: Fading color in glossy buttons
Posted: Fri Apr 26, 2013 11:20 am
by fsturlese
Hello Mark, thank you for your reply. I was wondering if the whitish hue is Windows-dependent, and can be changed by code. If I take a look at the Apple's glossy buttons, they seem to fade differently, see below:
![Image2.jpg](./download/file.php?id=571&sid=54e815044dd814410a36f42fa530c1b7)
- Image2.jpg (18.31 KiB) Viewed 6846 times
The Apple button allows using white characters all over the surface, as there is no white fading.
Another question: I tried changing the two colors of the gradient, if I set the same color for both, from then on I can't set the gradient any more, as the gradient palette shows only the solid color. Is this a known issue?
Thank you.
Federico.
Re: Fading color in glossy buttons
Posted: Fri Apr 26, 2013 11:26 am
by mark.monroe
Yes, if you mess around with both ends of the gradient to-much then it stops working. That is a known issue.