Skip to content

Commit 4213f83

Browse files
authored
Merge pull request #41 from dglaude/patch-1
margin_size seems to be int like in Vertical and Horizontal
2 parents 283822c + 8bea3b0 commit 4213f83

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

adafruit_progressbar/__init__.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ class ProgressBarBase(displayio.TileGrid):
5454
be a hexadecimal value for color (0xEE7755).
5555
Default: 0x000000 (Black)
5656
:type fill_color: int
57-
:param margin_size: Specify whether a margin between the border of the widget and the bar
58-
representing the value should be visible or not.
59-
Default: True
60-
:type margin_size: bool
57+
:param margin_size: The thickness (in pixels) of the margin between the border and
58+
the bar. If it is 1 or larger, will be filled in by the color of the
59+
"fill_color" parameter.
60+
:type margin_size: int
6161
:param value_range: Specify the range of allowed values for which the progress
6262
should be displayed. When setting the "value" property,
6363
this range is the one against which its progression will be determined.

0 commit comments

Comments
 (0)