maxHeight

open fun maxHeight(value: SizesProperty)

This function sets the max-height property of a component for all media devices.

example calls:

maxHeight { small } // use a predefined symbol
maxHeight { "2em" } // provide a custom value

Parameters

value

custom property or predefined symbol by dev.fritz2.styling.theme.Sizes like dev.fritz2.styling.theme.Sizes.normal or alike.

open fun maxHeight(sm: SizesProperty? = null, md: SizesProperty? = null, lg: SizesProperty? = null, xl: SizesProperty? = null)

This function sets the max-height property of a component for all media devices.

example calls:

maxHeight { small } // use a predefined symbol
maxHeight { "2em" } // provide a custom value

Parameters

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