Skip to content

Commit 6d883bb

Browse files
committed
add text_box to docs
1 parent c7b667b commit 6d883bb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

adafruit_display_text/text_box.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class TextBox(bitmap_label.Label):
5454
:param width: The width of the TextBox in pixels.
5555
:param height: The height of the TextBox in pixels.
5656
:param align: How to align the text within the box,
57-
valid values are `ALIGN_LEFT`, `ALIGN_CENTER`, `ALIGN_RIGHT`.
57+
valid values are ``ALIGN_LEFT``, ``ALIGN_CENTER``, ``ALIGN_RIGHT``.
5858
"""
5959

6060
ALIGN_LEFT = const(0)

docs/api.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@
1919

2020
.. automodule:: adafruit_display_text.outlined_label
2121
:members:
22+
23+
.. automodule:: adafruit_display_text.text_box
24+
:members:

0 commit comments

Comments
 (0)