Interface

PaneScaffoldScope

Scope for the panes of pane scaffolds.

Source set: Common
interface PaneScaffoldScope

Scope for the panes of pane scaffolds.

Functions

preferredWidth

Source set: Common
fun Modifier.preferredWidth(width: Dp): Modifier

This modifier specifies the preferred width for a pane, and the pane scaffold implementation will respect this width whenever possible. In case the modifier is not set or set to Dp.Unspecified, the default preferred widths of the respective scaffold implementation will be used.

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: