Skip to content

Setting anchor_point and anchored_position in constructor broken for bitmap_label #108

Closed
@FoamyGuy

Description

@FoamyGuy

fails with this error message:

Traceback (most recent call last):
  File "code.py", line 136, in <module>
  File "/lib/adafruit_display_text/bitmap_label.py", line 146, in __init__
  File "/lib/adafruit_display_text/bitmap_label.py", line 201, in _reset_text
  File "/lib/adafruit_display_text/bitmap_label.py", line 656, in anchor_point
  File "/lib/adafruit_display_text/bitmap_label.py", line 672, in anchored_position
AttributeError: 'Label' object has no attribute '_bounding_box'

label is unaffected by this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions