Help needed with gradient not showing properly on button

Hello, I need help with this problem.
I created a card view and placed a horizontal arrangement inside it, then added a label to write on it, which will act as a button.
First, I imported the gradient, then I applied it to the button using these blocks.
But the problem is that the gradient is not showing properly. It appears only around the text, not on the entire button. It shows on a small part near the text in an ugly way. What could be the reason?

Hi dear,

You probably haven’t removed the padding in the CardView,
try checking that setting in the Designer and set them to 0.
Or can’t you set the gradient directly on the CV?

Thank you very much! It worked perfectly. I really appreciate your support.

:partying_face::partying_face::partying_face:
Always a pleasure to help you

1 Like