myanmarking
09/28/2021, 11:19 AMjulioromano
09/28/2021, 12:01 PMTiago Nunes
09/28/2021, 12:56 PMTiago Nunes
09/28/2021, 12:57 PMTiago Nunes
09/28/2021, 1:00 PMOG
09/28/2021, 1:09 PMlineHeight
, or set maxLines
and pad your input text with a bunch of spaces but these are pretty hacky and not 100% correct.
Another approach would be to set the Modifier.height property to be 2*`lineHeight`
But the tradeoff here is it wouldn't work well if user scales text in settings.myanmarking
09/28/2021, 1:30 PMjulioromano
09/28/2021, 1:31 PMRick Regan
09/28/2021, 3:35 PMModifier.height
as suggested above but it doesn't scale with text as noted. (Using Modifier.verticalScroll
essentially takes care of this for my purposes though.)