Naughty: Fix the text margin

No idea where this comes from or why it worked before, but it's obviously wrong.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Uli Schlachter 2009-07-29 14:37:23 +02:00 committed by Julien Danjou
parent caa20c51e1
commit 1de7fdfe60
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ function notify(args)
-- create textbox
local textbox = capi.widget({ type = "textbox", align = "flex" })
textbox.buttons = util.table.join(button({ }, 1, run), button({ }, 3, die))
textbox:margin({ right = margin, left = margin, bottom = 2 * margin })
textbox:margin({ right = margin, left = margin, bottom = margin, top = margin })
textbox.text = string.format('<span font_desc="%s"><b>%s</b>%s</span>', font, title, text)
if hover_timeout then textbox.mouse_enter = hover_destroy end