Skip to content

Commit ac19541

Browse files
authored
Merge pull request adafruit#26 from adafruit/tannewt-patch-1
Add capital M note
2 parents 8bd76d9 + 5583c49 commit ac19541

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_display_text/label.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ class Label(displayio.Group):
5050
glyph (if its one line), or the (number of lines * linespacing + M)/2. That is,
5151
it will try to have it be center-left as close as possible.
5252
53-
:param Font font: A font class that has ``get_bounding_box`` and ``get_glyph``
53+
:param Font font: A font class that has ``get_bounding_box`` and ``get_glyph``.
54+
Must include a capital M for measuring character size.
5455
:param str text: Text to display
5556
:param int max_glyphs: The largest quantity of glyphs we will display
5657
:param int color: Color of all text in RGB hex

0 commit comments

Comments
 (0)