axrorxoja
04/12/2024, 5:05 PM@Composable
fun SampleText(modifier: Modifier = Modifier) {
Text(
text = "مرحباً، صباح الخير يا عزيزي",
overflow = TextOverflow.Clip,
softWrap = false,
maxLines = 1,
modifier = modifier
.background(color = Color.White)
.width(120.dp)
)
}
if I use overflow with softWrap false in RTL language, it cuts down from beginning of text(from the right) not from the end of the text(from left)
does someone know how to fix such a issue ?
thank you in advanceZach Klippenstein (he/him) [MOD]
04/12/2024, 5:58 PMaxrorxoja
04/12/2024, 6:07 PMZach Klippenstein (he/him) [MOD]
04/12/2024, 6:15 PMKirill Grouchnikov
04/12/2024, 8:38 PMText
composable “analyzes” its content and sets its own layout direction “appropriately”?axrorxoja
04/13/2024, 7:02 AMrsktash
04/24/2024, 4:56 PMaxrorxoja
08/06/2024, 5:54 AMZach Klippenstein (he/him) [MOD]
08/06/2024, 1:48 PMaxrorxoja
08/07/2024, 7:13 AMaxrorxoja
01/23/2025, 4:07 AM