From: Jeremy Thurgood Date: Fri, 16 May 2014 09:28:08 +0000 (+0200) Subject: Four pixel text padding, because it should be an even number. X-Git-Tag: 0.1~236 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=343dbbaa8126ed72ffec8cb4a3ff45050fd5d06a;p=naja.git Four pixel text padding, because it should be an even number. --- 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))