Skip to content

Commit 9844abb

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents c84be8b + 531c81d commit 9844abb

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

adafruit_displayio_layout/layouts/grid_layout.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,6 @@ def _layout_cells(self):
7272
button_size_x = cell["cell_size"][0]
7373
button_size_y = cell["cell_size"][1]
7474

75-
print(
76-
"setting width to: {}".format(
77-
int(button_size_x * self._width / grid_size_x)
78-
- 2 * self.cell_padding
79-
)
80-
)
8175
if hasattr(cell["content"], "resize"):
8276
# if it has resize function
8377
cell["content"].resize(

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,9 @@
5757
# simple. Or you can use find_packages().
5858
# TODO: IF LIBRARY FILES ARE A PACKAGE FOLDER,
5959
# CHANGE `py_modules=['...']` TO `packages=['...']`
60-
packages=["adafruit_displayio_layout"],
60+
packages=[
61+
"adafruit_displayio_layout",
62+
"adafruit_displayio_layout.layouts",
63+
"adafruit_displayio_layout.widgets",
64+
],
6165
)

0 commit comments

Comments
 (0)