Nutrient Tab Bar Dimensions
data class NutrientTabBarDimensions(val height: Dp, val tabMinWidth: Dp, val textSize: TextUnit, val separatorWidth: Dp, val tabHorizontalPadding: Dp, val closeButtonPadding: Dp)
Dimensions of a NutrientTabBar. Create one with NutrientTabBarDefaults.dimensions.
Constructors
Properties
Link copied to clipboard
Padding between the close button and the tab's end edge.
Link copied to clipboard
Width of the strip in TabBarColors.selectedTabColor drawn at the end edge of every unselected tab. Only drawn when the tabs touch, that is when tabSpacing is zero; 0.dp disables it.
Link copied to clipboard
Padding on both sides of the tab title.
Link copied to clipboard
The width a tab's title area never shrinks below. A tab with a close button is wider by NutrientTabBarDefaults.CloseButtonSize plus closeButtonPadding. Once the tabs no longer fit, the bar scrolls.