John O'Reilly
04/19/2024, 11:38 AMStylianos Gakis
04/19/2024, 11:39 AMJohn O'Reilly
04/19/2024, 11:57 AMyschimke
04/19/2024, 11:57 AMyschimke
04/19/2024, 11:57 AMStylianos Gakis
04/19/2024, 12:17 PMYeah, bookmarks text wrappingtl;dr: When using the m3 component as-is I donât think there is a way to actually handle this very well. So thatâs just what the m3 nav component does with long texts. And in the m3 documentation their suggestion is literally just âpick smaller textsâ and provide no customizability on the m3 component đ The doc link https://m3.material.io/components/navigation-bar/guidelines#720ad34e-fc0f-4413-8613-10dd2d530e58 Iâve also made a bug report about the spacing between the items being a bit more than what the specs are suggesting https://issuetracker.google.com/issues/330198163 Some prior discussion on this in ASG https://androidstudygroup.slack.com/archives/CE6KRLHEK/p1707469045575389 where the outcome has unfortunately been to simply cap the font size inside there for languages with longer text. I have done the same in our app here too after I had to copy the entire internal function from m3 of course, after also letting the texts go a bit âout of boundsâ compared to the m3 spec.