Separate spotify-widget artist/title without icon
Introduces a minimum distance between the artist/title textboxes equal in width to 1 space character in the specified widget font. This should ensure that the artist/title textboxes are not crammed together in the event that an icon cannot be displayed.
This commit is contained in:
parent
83914c91c8
commit
f3229d2716
|
@ -51,8 +51,17 @@ local function worker(user_args)
|
|||
widget = wibox.widget.textbox,
|
||||
},
|
||||
{
|
||||
id = "icon",
|
||||
widget = wibox.widget.imagebox,
|
||||
layout = wibox.layout.stack,
|
||||
{
|
||||
id = "icon",
|
||||
widget = wibox.widget.imagebox,
|
||||
},
|
||||
{
|
||||
widget = wibox.widget.textbox,
|
||||
font = font,
|
||||
text = ' ',
|
||||
forced_height = 1
|
||||
}
|
||||
},
|
||||
{
|
||||
layout = wibox.container.scroll.horizontal,
|
||||
|
|
Loading…
Reference in New Issue