Closed jmmalqui closed 6 months ago
UITextEntryLine acceps a Tuple in relative_rect but crashes since its expecting a pygame.Rect by calling its .size attribute.
AttributeError: 'Tuple' object has no attribute 'size'
Steps to reproduce the behaviour:
The element should handle correctly the data type of relative_rect and not try to get its .size attribute since it is not a pygame.Rect.
UITextEntryLine acceps a Tuple in relative_rect but crashes since its expecting a pygame.Rect by calling its .size attribute.
Steps to reproduce the behaviour:
The element should handle correctly the data type of relative_rect and not try to get its .size attribute since it is not a pygame.Rect.