From 04339b9912abf518a926c6a46541db3e2064d077 Mon Sep 17 00:00:00 2001 From: "Snakey Maker Cat =^.^=" <4115613+snkYmkrct@users.noreply.github.com> Date: Tue, 1 Oct 2024 19:57:22 +0200 Subject: [PATCH] Fix for background_tight property not working --- adafruit_display_text/bitmap_label.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/adafruit_display_text/bitmap_label.py b/adafruit_display_text/bitmap_label.py index d25b3fd..ad6ea5f 100755 --- a/adafruit_display_text/bitmap_label.py +++ b/adafruit_display_text/bitmap_label.py @@ -183,6 +183,10 @@ def _reset_text( if self._background_tight: box_y = tight_box_y y_offset = tight_y_offset + self._padding_left = 0 + self._padding_right = 0 + self._padding_top = 0 + self._padding_bottom = 0 else: # calculate the box size for a loose background box_y = loose_box_y pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy