width
This function sets the width property of a component for all media devices.
example calls:
width { small } // use a predefined symbol
width { "2em" } // provide a custom valueParameters
value
custom property or predefined symbol by dev.fritz2.styling.theme.Sizes like dev.fritz2.styling.theme.Sizes.normal or alike.
open fun width(sm: SizesProperty? = null, md: SizesProperty? = null, lg: SizesProperty? = null, xl: SizesProperty? = null)
Content copied to clipboard
This function sets the width property of a component for each media device independently.
example calls:
width { small } // use a predefined symbol
width { "2em" } // provide a custom valueParameters
sm
custom property or predefined symbol by dev.fritz2.styling.theme.Sizes for small media devices
md
custom property or predefined symbol by dev.fritz2.styling.theme.Sizes for medium sized media devices
lg
custom property or predefined symbol by dev.fritz2.styling.theme.Sizes for large media devices
xl
custom property or predefined symbol by dev.fritz2.styling.theme.Sizes for extra large media devices