Function

height

Sets the height of the content using RemoteDp.

height

Source set: JvmAndAndroid
public fun RemoteModifier.height(height: RemoteDp): RemoteModifier

Sets the height of the content using RemoteDp.

Parameters

height The height to apply in RemoteDp.

Return

a RemoteModifier that sets the height to height

height

Source set: JvmAndAndroid
public fun RemoteModifier.height(height: RemoteFloat): RemoteModifier

Sets the height of the content using RemoteFloat.

Parameters

height The height to apply in pixels.

Return

a RemoteModifier that sets the height to height

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: