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

Label size calculation issue while supporting font and selected font #4

Open
srvarma7 opened this issue Feb 26, 2023 · 1 comment
Open
Labels
BUG Something isn't working

Comments

@srvarma7
Copy link
Owner

When items are rendered, item size is being calculated using font passed in configuration.

Example:

Case 1
Font - 18
Selected Font - 15

When the item is selected, font size changes leaving the cell calculation size same resulting extra spacing leading and trailing space.

Case 2
Font - 15
Selected Font - 18

When the item is selected, font size changes leaving the cell calculation size same resulting less gap between the label.

@srvarma7 srvarma7 added the BUG Something isn't working label Feb 26, 2023
@srvarma7
Copy link
Owner Author

Work around - Set same font for both font and selectedFont

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant