Why Does This Gradient Break the UI's Button Drawing Code?
-
I have two gradient fills in this simple button code; but the whole look and feel fails—the default button is drawn. If I replace the second gradient fill with a solid colour, the button is drawn is the look and feel. What am I doing wrong? Thanks!
HiseSnippet 1329.3ocsW8tSabDD+NBGp1sMpQJO.i3S1sNWrMl.JHThM1lZgAi3LoUBghVtas8VNuq0cq4Ophuzmk9.12f1Y28L9H9.RrTuHYtcmYt427alc1IGGI7owwhHK6b8ucB0x9Gb7tkKGs2HBia0ook8KcNjDKoQfYqF2NgDGSCrrsew9pMryspk94e9PCRHg6Smukk0mDLeZW1Xlb9tG+wCXggsIAz9rwozt1G63K36IBESQ77BmxVSH9WRFROhnTaEGK60ZEvjhHOIQRiQcZHBt0aj3ZtQ+OwhYWDRUKpX4geHy1V6MhEFb7rXM1xxd0imG4uvD4u14PV.698my.+jV.L2hzbf8JOEjp7M.I6TPZUCjdkimeDahbtDEd9dmNbLgLffTcZnXz0Zk+dMm8DnFbo6Xxkz1Q3h6snv6JWtDf+Tbm74e6BOf2g061EZbZ+98NBVTd97XJJVBWQhf9s75C6By70PpbOw3IBNtnv5Jgqq7gQ+t0a+Yuwjvv9hgCCoMlJkBdJi8inH+0U3SB6JDWVmGzlRCKX.IXLBRrZfHB7n9RF9kym4G1MhNjoJZaOkq0qv5AQjqSqx5kfAyDNrDHt3OJl+OymSEWDDW3ZWBhocxmCxmCgPSzdPNhBWX.Q7TMcBWyjiPKFFQBXXf.ChDiAljN1TGWAjhTKq5Zbg.qrYxaSbj3J730GfJtkg2.ET6Df0OvOCkcqVDdO9msyP.BsgtwT49IttMdnpvYF+D6pvU8vIiHZyRAnRybdwR.4rxmq9sB96yYX0rLbiyO2fiAnyOQLkGPCNASMDNRzEHkfZJwyIvFhn.LVIQJUyfNcShIiK0H3hglEF+nRiK3myRGGjypNCZn6KAUT0PH.xoAPh6tlFF5B8Gwhmm4v26cfaljZ4aZ2tr94gblZ+ZaWqwlUeDJoUXHaRbBBgeA1zXI9lRQ3sPULwtEBREPqc9CIqTzCiGv7IXaFvmE4GRKYp670LCDPmPQFAiAT0YDppeDFMrAlBmqHgSovt6Bxnozh.VpqKDUfzvuI0hR5MIrOff4NfFFSyVaUvuUU7earCB56PUzPu+u1wC75WueKnwIspefGtSqYMTZdR8eqyQ6CuufV2EoZMiNn1fMSXZjo1NKNqVoT9uDpy1JtC+jnifS8T9nN30qamlvd8516zS.DUX5El87vBsEK9mGpk9xynpCjaUTUV8Xo4GCx39aiIYjotKoylGESZHcJMc3Tk2L9P.OeHYbptUmTUkZxpt4UsUU3dgNkY1Gr3Ny5wgUFGIjzd7B51b4uKO7khFLHSYpNzQhvPZTlhUWgG8TFVfOc7ETjE0Uf2qHdG2Cu3bsutKN8MWXjRQAuCmI6gGALqaKBCTWHpdewqYsRtwQcgaBBQUk5qaeYx0sFxyhgej0bTLtkF6omqw5zNMIRxruB9AQmLgFIYpXwtI8JbtGyk34bZRiuTJln0M4BRL7eNediksi8egt5V0KQ5ImVXBAb1DQvzPUqgzCrnlLKQ.lLdvTBpIA3wXa7zSt8MLES4mbJluVH9JmiYR+QYiwUx.iHS++AFSl86GcZMX.dexb.tpS6eeYGz6Yb+I5C2COjHiXpj7QSG6g8.7on24brgqJeuhpT0rtrZshA7vt75E+K9jHrhZschvJyDZMl3GI9ruo.WMc42o2AwDWOLcNbpdbMTYVosiSY2xViwAc+ruuJ7eCd5IaaptD1rwRXSskvlMWBad2RXyVKgMa+j1n9+XTepTL1bb.233V5VL11s3DrxRWEZ8ef8J5cz
-
-
@clevername27 You forgot the [] in the gradientFill
Didn't you get an error saying
Interface: Line 35, column 19: argument amount mismatch: 6, Expected: 1 {
-
@ulrik Thank you! No, there was no error message.
-