Join Slack
Powered by
Re: BasicText Is there a way to control how BasicT...
# compose
e
enighma
03/19/2025, 4:49 AM
Re: BasicText Is there a way to control how BasicText softwraps? Especially in conjunction with setting a min max size. I tend to end up with a text area that has a lot of empty space on the right side.
s
Stylianos Gakis
03/19/2025, 8:12 AM
You have
https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/TextStyle.kt;l=413;bpv=1;bpt=1?q=Compose%20TextStyle
LineBreak which gives you some configuration power over this. Perhaps it's what you need.
e
enighma
03/19/2025, 5:13 PM
Great! This is exactly what I was looking for.
2
Views
Open in Slack
Previous
Next