WithText
A ButtonStateStyleDSL for creating a ButtonStateStyle.WithText
Inheritors
Properties
Link copied to clipboard
The KalugaBackgroundStyle of the button in the state
Link copied to clipboard
the KalugaColor to render the text in for the given state
Functions
Link copied to clipboard
open fun setBackgroundStyle(backgroundColor: KalugaColor = DefaultColors.clear, shape: KalugaBackgroundStyle.Shape = KalugaBackgroundStyle.Shape.Rectangle())
Sets backgroundStyle to a KalugaBackgroundStyle with KalugaBackgroundStyle.FillStyle.Solid based on a backgroundColor and shape