Jenga Tabs Style
class JengaTabsStyle(val arrangement: JengaTabsArrangement? = null, val textStyle: TextStyle? = null, val selectedTextStyle: TextStyle? = null, val minHeight: Dp? = null, val spacing: Dp? = null, val contentPadding: PaddingValues? = null, val colors: JengaTabsColors? = null)(source)
Theme-wide style for every JengaTabs, set through io.github.joelkanyi.jenga.theme.JengaComponentStyles.tabs. A null value keeps Jenga's default; arguments passed to a call still win.
Constructors
Link copied to clipboard
constructor(arrangement: JengaTabsArrangement? = null, textStyle: TextStyle? = null, selectedTextStyle: TextStyle? = null, minHeight: Dp? = null, spacing: Dp? = null, contentPadding: PaddingValues? = null, colors: JengaTabsColors? = null)
Properties
Link copied to clipboard
how the tabs are laid out.
Link copied to clipboard
the color set.
Link copied to clipboard
padding around the row of tabs.
Link copied to clipboard
merged onto the label text style of the selected tab, so set only what changes, e.g. TextStyle(fontWeight = FontWeight.SemiBold).
Link copied to clipboard
gap between tabs with JengaTabsArrangement.Start.
Functions
Link copied to clipboard
fun copy(arrangement: JengaTabsArrangement? = this.arrangement, textStyle: TextStyle? = this.textStyle, selectedTextStyle: TextStyle? = this.selectedTextStyle, minHeight: Dp? = this.minHeight, spacing: Dp? = this.spacing, contentPadding: PaddingValues? = this.contentPadding, colors: JengaTabsColors? = this.colors): JengaTabsStyle