Skip to content

margin_size seems to be int like in Vertical and Horizontal #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions adafruit_progressbar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ class ProgressBarBase(displayio.TileGrid):
be a hexadecimal value for color (0xEE7755).
Default: 0x000000 (Black)
:type fill_color: int
:param margin_size: Specify whether a margin between the border of the widget and the bar
representing the value should be visible or not.
Default: True
:type margin_size: bool
:param margin_size: The thickness (in pixels) of the margin between the border and
the bar. If it is 1 or larger, will be filled in by the color of the
"fill_color" parameter.
:type margin_size: int
:param value_range: Specify the range of allowed values for which the progress
should be displayed. When setting the "value" property,
this range is the one against which its progression will be determined.
Expand Down