naughty: add vertical margin
Signed-off-by: koniu <gkusnierz@gmail.com>
This commit is contained in:
parent
a4de60b23f
commit
80685be123
|
@ -331,7 +331,7 @@ function notify(args)
|
||||||
-- create textbox
|
-- create textbox
|
||||||
local textbox = widget({ type = "textbox", align = "flex" })
|
local textbox = widget({ type = "textbox", align = "flex" })
|
||||||
textbox:buttons(util.table.join(button({ }, 1, run), button({ }, 3, die)))
|
textbox:buttons(util.table.join(button({ }, 1, run), button({ }, 3, die)))
|
||||||
textbox:margin({ right = config.margin, left = config.margin })
|
textbox:margin({ right = config.margin, left = config.margin, bottom = 2 * config.margin })
|
||||||
textbox.text = string.format('<span font_desc="%s"><b>%s</b>%s</span>', font, title, text)
|
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
|
if hover_timeout then textbox.mouse_enter = hover_destroy end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue