WithText
A KalugaButtonStyleDSL for creating a KalugaButtonStyle.WithText
Inheritors
Properties
the StateStyle that the button is in by default
the StateStyle that the button is in when disabled. If null defaultStyle will be used
the KalugaFont that the text is in
the StateStyle that the button is in when pressed. If null defaultStyle will be used
the KalugaTextAlignment of the text
Functions
Sets defaultStyle using the creation using a StateStyleDSL The StateStyleDSL will be preconfigured with the layout of the previous defaultStyle
Sets disabledStyle using the creation using a StateStyleDSL The StateStyleDSL will be preconfigured with the layout of the previous disabledStyle or defaultStyle if null
Sets pressedStyle using the creation using a StateStyleDSL The StateStyleDSL will be preconfigured with the layout of the previous pressedStyle or defaultStyle if null
Sets backgroundStyle to a KalugaBackgroundStyle with KalugaBackgroundStyle.FillStyle.Solid based on a KalugaColor and shape
Sets font, textSize, and textAlignment according to a KalugaTextStyle and ButtonStateStyle.WithText.textColor for all states