This is a migrated thread and some comments may be shown as answers.

Problem with Gradients/Backgrounds

3 Answers 86 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Jesús Manuel
Top achievements
Rank 1
Jesús Manuel asked on 11 Oct 2010, 10:34 PM

Hi everybody

I'm designing a "Look & Feel" of an Application, the problem is about Gradients and the Backgrounds.

I have a button with Gradients in "Normal" and "Hover" status. In the "Press" status I have a Solid Background.
So when my Button is "Normal" it is ok. When I "Hover" it is ok. But when I "Press" it. The "Normal" and "Hover" Gradient it is Solid now.

I don't know what is happening.

What I'm doing wrong?

I hope you can help me thanks.

3 Answers, 1 is accepted

Sort by
0
Dobry Zranchev
Telerik team
answered on 15 Oct 2010, 07:35 AM
Hi Jesús Manuel,

Thank you for contacting us. Definitely the issue is related with the defined states. I will be able to be more accurate in my suggestions if I see the theme. Please, send it to me and I will be glad to help further.

I am looking forward to your reply.

Kind regards,
Dobry Zranchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jesús Manuel
Top achievements
Rank 1
answered on 15 Oct 2010, 07:54 PM

Hello Dobry Zranchev,

I have solved my problem. How?... I used a linear gradient instead a solid one, simulating a solid color.
In that way VSB will not get confused at the time of change from a Linear Gradient to a Solid Gradient.

But I dont know why it happened but I have solved it.

Anyway I dont know how to send you my theme. Because the attached files only accept images.


Thanks for reply.

0
Dobry Zranchev
Telerik team
answered on 21 Oct 2010, 08:53 AM
Hello Jesús Manuel,

Thank you for writing back.

Your solution is correct, but the better way to use a solid color for the background is to set the GradientStyle property to Solid.

If you have other questions, feel free to ask.

Best wishes,
Dobry Zranchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Themes and Visual Style Builder
Asked by
Jesús Manuel
Top achievements
Rank 1
Answers by
Dobry Zranchev
Telerik team
Jesús Manuel
Top achievements
Rank 1
Share this question
or