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

Fix label overflow fading in the wrong direction and allow custom overflow for labels #54

Open
M0rica opened this issue Oct 6, 2023 · 0 comments

Comments

@M0rica
Copy link

M0rica commented Oct 6, 2023

Is your feature request related to a problem? Please describe.
If a label text overflows, TextOverflow.fade will be used which fades from top to bottom, which is incorrect and not very visually pleasing.

Describe the solution you'd like
Since the label text is limited to one line, simply setting softWrap = false in SidebarXCell will result in the text fading in the correct direction. Also just removing the overflow = TextOverflow.fade will allow the user to specify the overflow with a SidebarXTheme.textStyle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant