https://kotlinlang.org logo
#compose
Title
# compose
p

PHondogo

03/15/2023, 10:56 AM
Hello! How to set initial visible line count for OutlinedTextField?
z

Zaki Shaikh

03/15/2023, 11:43 AM
By passing
maxLines = desiredLines
p

PHondogo

03/15/2023, 12:11 PM
maxLines is the limit. I need initial height of N lines.
a

Albert Chang

03/15/2023, 1:54 PM
This is possible from Compose 1.4.0 by specifying
minLines
parameter.
6 Views