dimensions

fun dimensions(height: Dp = Height, tabMinWidth: Dp = TabMinWidth, textSize: TextUnit = TextSize, separatorWidth: Dp = SeparatorWidth, tabHorizontalPadding: Dp = TabHorizontalPadding, closeButtonPadding: Dp = CloseButtonPadding): NutrientTabBarDimensions

Dimensions for a NutrientTabBar, every one defaulting to the value the SDK's own tab bar uses.

Parameters

height

Height of the bar.

tabMinWidth

Minimum width of a tab's title area.

textSize

Font size of the tab titles.

separatorWidth

Width of the separator between touching tabs; 0.dp disables it.

tabHorizontalPadding

Padding on both sides of a tab title.

closeButtonPadding

Padding between the close button and the tab's end edge.