I have a custom button with a Constructor. For some reason, none of the default colors in the Constructor are recognized when a new instance of the button is created. Instead, the button is black. Any ideas as to what is causing this behavior?
Thanks!
The Constructor:
> // Calling the overridden superclass constructor.
> Super.Constructor
>
> // Set default colors
> NormalGradientStartColor = &cCBBFB3
> NormalGradientEndColor = &cA3978B
> HoverGradientStartColor = &cDFD7D0
> HoverGradientEndColor = &cB9AFA6
> ClickedGradientStartColor = &c8E8379
> ClickedGradientEndColor = &c6B625A
> TextColor = Color.Black
> ClickedTextColor = &cFFE7CD
> ButtonText = "Button" // Default button text
>
> // Set other initial states if needed
> buttonState = "Normal"