Scrollable

data class Scrollable(val contentPadding: PaddingValues = PaddingValues.Zero) : TabsBehaviour

Tabs will be scrollable if there are more tabs than can fit on the screen.

Parameters

contentPadding

Content padding applied to the tabs, default is PaddingValues.Zero. This is intended to be used to align the tab items with the view margins, while allowing the tabs to scroll edge-to-edge.

Constructors

Link copied to clipboard
constructor(contentPadding: PaddingValues = PaddingValues.Zero)

Properties

Link copied to clipboard