I'm using compose desktop and i want to use basicMarquee()
on a long text with a normal Text()
and RTL layout.
but it isn't showing correctly:
- Text isn't start from beginning (این یک متن طولانی با قابلیت جابجایی است)
- Text disappear for few seconds when it reach the start of text
My Text:
Text(
maxLines = 1,
text = "این یک متن طولانی با قابلیت جابجایی است",
modifier = Modifier
.fillMaxWidth()
.basicMarquee()
)
My result:
i tried any initialDelay
, MarqueeSpacing()
, textAlign
, textDirection
, LayoutDirections and ... , but it didn't work.