From 343dbbaa8126ed72ffec8cb4a3ff45050fd5d06a Mon Sep 17 00:00:00 2001 From: Jeremy Thurgood Date: Fri, 16 May 2014 11:28:08 +0200 Subject: [PATCH] Four pixel text padding, because it should be an even number. --- naja/widgets/text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/naja/widgets/text.py b/naja/widgets/text.py index ca653e8..899dace 100644 --- a/naja/widgets/text.py +++ b/naja/widgets/text.py @@ -58,7 +58,7 @@ class TextWidget(Widget): class TextBoxWidget(TextWidget): def __init__(self, *args, **kwargs): - self.padding = kwargs.pop('padding', 5) + self.padding = kwargs.pop('padding', 4) self.border = kwargs.pop('border', 2) self.bg_colour = convert_colour(kwargs.pop('bg_colour', PALETTE.LIGHT_VIOLET)) -- 2.34.1