projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3e10ee
)
Four pixel text padding, because it should be an even number.
author
Jeremy Thurgood
<firxen@gmail.com>
Fri, 16 May 2014 09:28:08 +0000
(11:28 +0200)
committer
Jeremy Thurgood
<firxen@gmail.com>
Fri, 16 May 2014 09:28:08 +0000
(11:28 +0200)
naja/widgets/text.py
patch
|
blob
|
history
diff --git
a/naja/widgets/text.py
b/naja/widgets/text.py
index ca653e89c5e512e816a3032d6f1295162baebd16..899dacec7c095cea5a79540d2f71b75cd2f41232 100644
(file)
--- 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))