Properties

Link copied to clipboard

the ButtonStateStyle.TextOnly that the button is in by default

Link copied to clipboard

the ButtonStateStyle.TextOnly that the button is in when disabled

Link copied to clipboard
open override val font: KalugaFont

the KalugaFont that the text is in

Link copied to clipboard
open override val padding: Padding

the Padding of the content of the button

Link copied to clipboard

the ButtonStateStyle.TextOnly that the button is in when pressed

Link copied to clipboard

the KalugaTextAlignment of the text

Link copied to clipboard
open override val textSize: Float

the size of the text

Functions

Link copied to clipboard
open fun getStateStyle(isEnabled: Boolean, isPressed: Boolean): ButtonStateStyle.TextOnly

Gets the StateStyle of the button depending on the state

Link copied to clipboard
open fun getStateTextStyle(isEnabled: Boolean, isPressed: Boolean): KalugaTextStyle

Gets the KalugaTextStyle of the button depending on the state