Join Slack
Powered by
I have multiline text and I need to get the positi...
# compose
t
Tomas Gordian
03/03/2022, 7:38 PM
I have multiline text and I need to get the position of a specific baseline. With
onTextLayout
I receive
TextLayoutResult
object which has
firstBaseline
or
lastBaseline
. Is there a way to get any Baseline?
s
Siyamed
03/03/2022, 7:48 PM
I was planning to add that as soon as possible 😕
👍 1
Siyamed
03/03/2022, 7:48 PM
in order to be able to write this:
https://android-review.googlesource.com/c/platform/frameworks/support/+/1984466/16/compose/f[…]mpose/foundation/demos/text/ComposeVerticalMetrics.kt
5
Views
Open in Slack
Previous
Next