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
|
@ -52,8 +52,17 @@ local function worker(user_args)
|
||||||
widget = wibox.widget.textbox,
|
widget = wibox.widget.textbox,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id = "icon",
|
layout = wibox.layout.stack,
|
||||||
widget = wibox.widget.imagebox,
|
{
|
||||||
|
id = "icon",
|
||||||
|
widget = wibox.widget.imagebox,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
widget = wibox.widget.textbox,
|
||||||
|
font = font,
|
||||||
|
text = ' ',
|
||||||
|
forced_height = 1
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
layout = wibox.container.scroll.horizontal,
|
layout = wibox.container.scroll.horizontal,
|
||||||
|
|
Loading…
Reference in New Issue