File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -43,14 +43,17 @@ class Label(displayio.Group):
43
43
properties will be the left edge of the bounding box, and in the center of a M
44
44
glyph (if its one line), or the (number of lines * linespacing + M)/2. That is,
45
45
it will try to have it be center-left as close as possible.
46
-
46
+
47
47
:param Font font: A font class that has ``get_bounding_box`` and ``get_glyph``.
48
48
Must include a capital M for measuring character size.
49
49
:param str text: Text to display
50
50
:param int max_glyphs: The largest quantity of glyphs we will display
51
51
:param int color: Color of all text in RGB hex
52
52
:param double line_spacing: Line spacing of text to display"""
53
53
54
+ # pylint: disable=too-many-instance-attributes
55
+ # This has a lot of getters/setters, maybe it needs cleanup.
56
+
54
57
def __init__ (
55
58
self ,
56
59
font ,
You can’t perform that action at this time.
0 commit comments