Interface

MinSizeScope

An interface that introduces min size properties to a Style receiver scope interface.

Source set: Common
@Deprecated(
    DeprecatedStyleScope,
    replaceWith = ReplaceWith(""),
    level = DeprecationLevel.WARNING,
)
public interface MinSizeScope

An interface that introduces min size properties to a Style receiver scope interface.

Functions

minWidth

Source set: Common
public fun minWidth(value: Dp)

Constrains the minimum width of the component. The component's width, including padding, will be at least this value.

This property is not inherited

Parameters

value The minimum width.

minHeight

Source set: Common
public fun minHeight(value: Dp)

Constrains the minimum height of the component. The component's height, including padding, will be at least this value.

This property is not inherited

Parameters

value The minimum 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: