naughty: fix margin when using icon
Signed-off-by: koniu <gkusnierz@gmail.com> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
7ecf1afdfd
commit
105a4ce41f
|
@ -375,7 +375,7 @@ function notify(args)
|
|||
|
||||
-- calculate the width
|
||||
if not width then
|
||||
width = textbox:extents().width + (iconbox and iconbox:extents().width or 0) + 2 * margin
|
||||
width = textbox:extents().width + (iconbox and iconbox:extents().width + 2 * margin or 0) + 2 * margin
|
||||
end
|
||||
|
||||
-- crop to workarea size if too big
|
||||
|
|
Loading…
Reference in New Issue