Limited tab title lines to 1

This commit is contained in:
Abdelilah El Aissaoui 2022-02-17 22:56:20 +01:00
parent 9ad7b23373
commit f314dc2c26

View file

@ -152,6 +152,7 @@ fun Tab(title: MutableState<String>, selected: Boolean, onClick: () -> Unit, onC
modifier = Modifier
.padding(vertical = 8.dp, horizontal = 16.dp),
color = contentColorFor(backgroundColor),
maxLines = 1,
)
IconButton(
onClick = onCloseTab,