Properties

Link copied to clipboard

the ButtonStateStyle.WithoutContent that the button is in by default

Link copied to clipboard

the ButtonStateStyle.WithoutContent that the button is in when disabled. If null defaultStyle will be used.

Link copied to clipboard
open override var padding: Padding

Configured the Padding of the content of the button

Link copied to clipboard

the ButtonStateStyle.WithoutContent that the button is in when pressed. If null defaultStyle will be used.

Functions

Link copied to clipboard

Sets defaultStyle using the creation using a ButtonStateStyleDSL.WithoutContent The ButtonStateStyleDSL.WithoutContent will be preconfigured with the layout of the previous defaultStyle

Link copied to clipboard

Sets disabledStyle using the creation using a ButtonStateStyleDSL.WithoutContent The ButtonStateStyleDSL.WithoutContent will be preconfigured with the layout of the previous disabledStyle or defaultStyle if null

Link copied to clipboard

Sets pressedStyle using the creation using a ButtonStateStyleDSL.WithoutContent The ButtonStateStyleDSL.WithoutContent will be preconfigured with the layout of the previous pressedStyle or defaultStyle if null

Link copied to clipboard
open fun setBackground(defaultColor: KalugaColor, pressedColor: KalugaColor = defaultColor, disabledColor: KalugaColor = defaultColor, shape: KalugaBackgroundStyle.Shape = KalugaBackgroundStyle.Shape.Rectangle())