We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae43b15 commit 7ff41a3Copy full SHA for 7ff41a3
adafruit_button/button_base.py
@@ -100,7 +100,7 @@ def label(self, newtext):
100
dims[2] >= self.width or dims[3] >= self.height
101
):
102
self._label.text = "{}.".format(self._label.text[:-2])
103
- dims = self._label.bounding_box
+ dims = list(self._label.bounding_box)
104
dims[2] *= self._label.scale
105
dims[3] *= self._label.scale
106
if len(self._label.text) <= 1:
0 commit comments