Hello again,
I'm trying to have in my app where an end user can select different colors of a gradient fill. I'm trying to use CSSUtils.SetStyleProperty but I can't seem to get the proper syntax.
I can do it with:
but then it wipes out my corner radius.
I've tried:
But I get an "error parsing attribute"
Any suggestions would be grateful.
I'm trying to have in my app where an end user can select different colors of a gradient fill. I'm trying to use CSSUtils.SetStyleProperty but I can't seem to get the proper syntax.
I can do it with:
B4X:
Pane1.Style = "-fx-background-color: linear-gradient(#2211FE, #ff33DE);"
I've tried:
B4X:
CSSUtils.SetStyleProperty(Pane1,"-fx-background-color: linear-gradient", (#2211FF, #ff33DE))
Any suggestions would be grateful.
Last edited: