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.
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.