We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4caccad + b629a4a commit 94b1935Copy full SHA for 94b1935
pygame_gui/elements/ui_label.py
@@ -64,7 +64,7 @@ def __init__(self, relative_rect: Union[RectLike, Coordinate],
64
object_id=object_id,
65
element_id=['label'])
66
67
- self.dynamic_dimensions_orig_top_left = relative_rect.topleft
+ self.dynamic_dimensions_orig_top_left = rel_rect.topleft
68
69
self.text = text
70
self.text_kwargs = {}
0 commit comments