Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the trailing in display name #18

Open
bonamiAkash opened this issue Apr 9, 2024 · 0 comments
Open

Adding the trailing in display name #18

bonamiAkash opened this issue Apr 9, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@bonamiAkash
Copy link
Collaborator

The trailing dots have been added but there should be an addition enhancement.
Lets say that the name is Vikash. By adding trainling dots with substring length upto 5 will display Vikas... , however this trailing dots take up more space then the original name "vikash" (length -> 6) as compared to "vikas..."

Need to come up with a way so that it can intelligently add triple dots only when required. If Adding trailing dots to a display name causes the string's length to be longer then the original length (for eg, in the "vikash" case), then there should be no trailing dots added then.

Also try to utilize some font size spacing or Fitted box layout so that If the name can fit we reduce the font size by a certain amount

@skfareeduddin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Development

No branches or pull requests

2 participants