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:
koniu 2009-08-25 20:21:41 +01:00 committed by Julien Danjou
parent 7ecf1afdfd
commit 105a4ce41f
1 changed files with 1 additions and 1 deletions

View File

@ -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