Function

height

Declare the preferred size of the content to be exactly height dp along the y dimension of the Composable's local coordinate space.

height

Source set: Android
public fun SubspaceModifier.height(height: Dp): SubspaceModifier

Declare the preferred size of the content to be exactly height dp along the y dimension of the Composable's local coordinate space.

Parameters

height preferred height in Dp.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: