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

bug: Label width not calculated correctly #43

Open
mabasic opened this issue Feb 10, 2024 · 0 comments
Open

bug: Label width not calculated correctly #43

mabasic opened this issue Feb 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mabasic
Copy link

mabasic commented Feb 10, 2024

Bug description A clear and concise description of what the bug is.

When I pass a figlet to Label text and in rectangle type only column and row. The class should automatically detect width and height, but when the figlet changes the width is not calculated correctly and the text inside (figlet) is cut short.

But when a provide a known width amd height, then the text is never cut short and works as expected.

Also the types for Label rectangle complains when I pass width, height, row and column, but does not complain when I pass only column and row.

Expected behavior What you expected to happen instead.

The label width should be calculated correctly.

@mabasic mabasic added the bug Something isn't working label Feb 10, 2024
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