taglist: Add spacing support
This commit is contained in:
parent
549d68dcc5
commit
00ee99851b
|
@ -177,6 +177,10 @@ function taglist.new(screen, filter, buttons, style, update_function, base_widge
|
||||||
local uf = update_function or common.list_update
|
local uf = update_function or common.list_update
|
||||||
local w = base_widget or fixed.horizontal()
|
local w = base_widget or fixed.horizontal()
|
||||||
|
|
||||||
|
if w.set_spacing and (style and style.spacing or beautiful.taglist_spacing) then
|
||||||
|
w:set_spacing(style and style.spacing or beautiful.taglist_spacing)
|
||||||
|
end
|
||||||
|
|
||||||
local data = setmetatable({}, { __mode = 'k' })
|
local data = setmetatable({}, { __mode = 'k' })
|
||||||
|
|
||||||
local queued_update = {}
|
local queued_update = {}
|
||||||
|
|
Loading…
Reference in New Issue