You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to see the option to add gradients (Brush) to buttons for backgrounds..
Currently it is possible to do, with a "workaround": If you set (or let) the background color to be Unspecified and add a modifier with a call to .background() that contains the brush and the shape (in case you need rounded corners) it works, but I think it should be obtained in the API to either set the backgroundColor or provide a backgroundBrush
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to see the option to add gradients (Brush) to buttons for backgrounds..
Currently it is possible to do, with a "workaround": If you set (or let) the background color to be
Unspecifiedand add a modifier with a call to.background()that contains the brush and the shape (in case you need rounded corners) it works, but I think it should be obtained in the API to either set thebackgroundColoror provide abackgroundBrushBeta Was this translation helpful? Give feedback.
All reactions