Merge pull request #367 from chaorace/spotify-widget-icon-placeholder
Separate artist/title textboxes in spotify-widget when an icon cannot be drawn
This commit is contained in:
commit
2650676e31
|
@ -51,10 +51,19 @@ local function worker(user_args)
|
|||
font = font,
|
||||
widget = wibox.widget.textbox,
|
||||
},
|
||||
{
|
||||
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,
|
||||
max_size = 100,
|
||||
|
|
Loading…
Reference in New Issue