tasklist: Use a fixed layout
We need a fixed layout here to make tag names like "media" work. Without this, every take would get the same space, no matter how long its name is. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
58bf0b0c64
commit
c271ed7b13
|
@ -18,7 +18,7 @@ local common = require("awful.widget.common")
|
|||
local util = require("awful.util")
|
||||
local tag = require("awful.tag")
|
||||
local beautiful = require("beautiful")
|
||||
local flex = require("wibox.layout.flex")
|
||||
local fixed = require("wibox.layout.fixed")
|
||||
|
||||
--- Taglist widget module for awful
|
||||
module("awful.widget.taglist")
|
||||
|
@ -128,7 +128,7 @@ end
|
|||
-- squares_resize Optional: true or false to resize squares.
|
||||
-- font The font.
|
||||
function new(screen, filter, buttons, style)
|
||||
local w = flex.horizontal()
|
||||
local w = fixed.horizontal()
|
||||
|
||||
local data = setmetatable({}, { __mode = 'vk' })
|
||||
local u = function (s)
|
||||
|
|
Loading…
Reference in New Issue