You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the recent pull request #142 the explicit width was removed from the modifier on the StandardCardLayout in the common/Moviesrow.kt file. This will cause the card to horizontally expand as needed to place the title of the item on the screen.
It is generally not noticeable in the sample as all the movie titles in movies.json are small enough but as the screenshot below shows longer titles will cause issues.
The text was updated successfully, but these errors were encountered:
The title parameter in the cards accepts a composable as value. It is the responsibility of the card's consumer to clip off the extra text which might overflow. Additionally, users can also choose to append the text with an ellipsis.
Hey vighnesh, I opened the issue because i noticed it broke in the JetStream sample/demo application which itself is a consumer of the card. The MoviesRowItemText in the sample also uses overflow = TextOverflow.Ellipsis however this does not prevent the above from happening.
In the recent pull request #142 the explicit width was removed from the modifier on the
StandardCardLayout
in thecommon/Moviesrow.kt
file. This will cause the card to horizontally expand as needed to place the title of the item on the screen.It is generally not noticeable in the sample as all the movie titles in movies.json are small enough but as the screenshot below shows longer titles will cause issues.
The text was updated successfully, but these errors were encountered: