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:
parent
caa20c51e1
commit
1de7fdfe60
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue