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

Overflow of SideMenuItem Text #80

Open
aditya113141 opened this issue Feb 24, 2024 · 0 comments
Open

Overflow of SideMenuItem Text #80

aditya113141 opened this issue Feb 24, 2024 · 0 comments

Comments

@aditya113141
Copy link
Contributor

aditya113141 commented Feb 24, 2024

  • When the title for a SideMenuItem is large, it gets ellipised.

Screenshot (682)

  • I tried changing the overflow attribute of Text to TextOverflow.visible, the itemHeight from SideMenuStyle leads to restriction in the height of Container. Though the text moves to new line, it gets clipped

Screenshot (683)

  • I worked around to make the title text move to another line and height of the SideMenuItem flexible according to the lines taken by title. This makes the SideMenuStyle Property itemHeight Redundant.

Screenshot (681)

This issue doesn't occurs in SideMenuExpansionItem as we are using ListTile in it inplace of InkWell in SideMenuItem

I Want to know people's opinion before making the changes. Do they need the itemHeight property or they want the SideMenuItems to have flexible height according to their size?

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