We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description Passing a Coordinate-like to UILabel.__init__ results in an exception.
UILabel.__init__
To Reproduce Steps to reproduce the behaviour:
my_label = pygame_gui.elements.UILabel((5,10), 'Example')
ui_label.py:67
Expected behaviour A label should be created, as the parameter relative_rect is permitted to be either a Rect-like, or Coordinate-like.
relative_rect
Rect
Coordinate
Platform and software (please complete the following information):
Additional context I have already submitted a PR to fix this issue.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Passing a Coordinate-like to
UILabel.__init__
results in an exception.To Reproduce
Steps to reproduce the behaviour:
my_label = pygame_gui.elements.UILabel((5,10), 'Example')
ui_label.py:67
Expected behaviour
A label should be created, as the parameter
relative_rect
is permitted to be either aRect
-like, orCoordinate
-like.Platform and software (please complete the following information):
Additional context
I have already submitted a PR to fix this issue.
The text was updated successfully, but these errors were encountered: