Skip to content

Remove max_size parameter #3

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
Jul 6, 2021
Merged
Show file tree
Hide file tree
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
5 changes: 2 additions & 3 deletions displayio_flipinput.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def __init__(
**kwargs,
):

super().__init__(**kwargs, max_size=4)
super().__init__(**kwargs)
# Group elements for the FlipInput.
# 0. The text
# 1. The group holding the temporary scroll bitmap
Expand Down Expand Up @@ -235,8 +235,7 @@ def __init__(
self._update_position() # call Widget superclass function to reposition

self._animation_group = displayio.Group(
max_size=1,
scale=self._font_scale,
scale=self._font_scale
) # holds the animation bitmap
# self._animation_group.x = -1 * left * (1)
# self._animation_group.y = -1 * top * (1)
Expand Down
2 changes: 1 addition & 1 deletion examples/displayio_flipinput_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
my_flip3.value = "2015" # or set the value based on a string that is in the value_list

# Create the group to display and append the FlipInput widgets
my_group = displayio.Group(max_size=3)
my_group = displayio.Group()
my_group.append(my_flip1)
my_group.append(my_flip2)
my_group.append(my_flip3)
Expand Down