From f314dc2c266a0b99e4369e43ec0fd4c7cec2f011 Mon Sep 17 00:00:00 2001 From: Abdelilah El Aissaoui Date: Thu, 17 Feb 2022 22:56:20 +0100 Subject: [PATCH] Limited tab title lines to 1 --- src/main/kotlin/app/ui/components/RepositoriesTabPanel.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/app/ui/components/RepositoriesTabPanel.kt b/src/main/kotlin/app/ui/components/RepositoriesTabPanel.kt index cf58cba..eac21a2 100644 --- a/src/main/kotlin/app/ui/components/RepositoriesTabPanel.kt +++ b/src/main/kotlin/app/ui/components/RepositoriesTabPanel.kt @@ -152,6 +152,7 @@ fun Tab(title: MutableState, selected: Boolean, onClick: () -> Unit, onC modifier = Modifier .padding(vertical = 8.dp, horizontal = 16.dp), color = contentColorFor(backgroundColor), + maxLines = 1, ) IconButton( onClick = onCloseTab,