diff --git a/arcade/gui/experimental/password_input.py b/arcade/gui/experimental/password_input.py index b6486ca489..78c3e7bffb 100644 --- a/arcade/gui/experimental/password_input.py +++ b/arcade/gui/experimental/password_input.py @@ -75,7 +75,7 @@ def do_render(self, surface: Surface): anchor_x="left", anchor_y="bottom", align="left", - width=self.width, + width=int(self.width), font_name=self._font_name, font_size=self._font_size, color=self._asterisk_color,