Kort
01/19/2021, 8:50 AMText("تزامن...")
in AmbientLayoutDirection
as Ltr
, there will be an extra wrap line (see picture below). But it stays normal while as Rtl
.
Anyone have any solutions or suggestions? Thanks in advance!
Providers(AmbientLayoutDirection provides LayoutDirection.Ltr) {
Text("LTR")
Text("تزامن...")
Text("مزيد من المعلومات.")
}
Providers(AmbientLayoutDirection provides LayoutDirection.Rtl) {
Text("RTL")
Text("تزامن...")
Text("مزيد من المعلومات.")
}
Julius
01/19/2021, 8:55 AMmodifier = Modifier.fillMaxWidth()
for the text?Kort
01/19/2021, 9:01 AMwrapContent
.Siyamed
01/20/2021, 6:16 AMTextDirection.Content
, TextDirection.ContentOrLtr
configuration options where you can ask the system to align the text to RTL when the text is RTL.Kort
01/20/2021, 8:58 AM