TextAlign start for lyrics & center for lyrics who need spaces (isExcess)
This commit is contained in:
parent
7ea9d08cb3
commit
2ea68325be
1 changed files with 3 additions and 3 deletions
|
|
@ -734,13 +734,13 @@ fun LazyVerticalGridTUO(
|
|||
val isTooLong = textWidthDp > containerWidthDp
|
||||
|
||||
val spacer = makeSpaceBetweenSyllables(textMeasurer, gridWidthDp / gridColumnCount)
|
||||
val (dynamicSpaceSyl, alignText) = spacer(syl, allTemps, syls_i, index)
|
||||
val (dynamicSpaceSyl, alignmentText) = spacer(syl, allTemps, syls_i, index)
|
||||
Text(
|
||||
text = dynamicSpaceSyl,
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.padding(end = 4.dp)/*.border(1.dp, Color.Yellow, RectangleShape)*/
|
||||
.wrapContentSize(unbounded = true, align = alignText),
|
||||
.wrapContentSize(unbounded = true, align = alignmentText),
|
||||
softWrap = false,
|
||||
maxLines = 1,
|
||||
overflow = TextOverflow.Visible,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue