taglist: don't pad name with space, use margin
Signed-off-by: Lukas Hrazky <lukkash@email.cz> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
a085a26d99
commit
19971c4610
|
@ -78,10 +78,10 @@ function taglist_label(t, args)
|
||||||
end
|
end
|
||||||
if not tag.getproperty(t, "icon_only") then
|
if not tag.getproperty(t, "icon_only") then
|
||||||
if fg_color then
|
if fg_color then
|
||||||
text = text .. "<span color='"..util.color_strip_alpha(fg_color).."'>"
|
text = text .. "<span color='"..util.color_strip_alpha(fg_color).."'>" ..
|
||||||
text = " " .. text.. (util.escape(t.name) or "") .." </span>"
|
(util.escape(t.name) or "") .. "</span>"
|
||||||
else
|
else
|
||||||
text = text .. " " .. (util.escape(t.name) or "") .. " "
|
text = text .. (util.escape(t.name) or "")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
text = text .. "</span>"
|
text = text .. "</span>"
|
||||||
|
@ -152,7 +152,7 @@ function new(screen, filter, buttons, style, template)
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
item = "title",
|
item = "title",
|
||||||
--margin = { left = 2, right = 2 },
|
margin = { left = 4, right = 4 },
|
||||||
bg_resize = true,
|
bg_resize = true,
|
||||||
},
|
},
|
||||||
layout = layout.horizontal.leftright
|
layout = layout.horizontal.leftright
|
||||||
|
|
Loading…
Reference in New Issue