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:
streetturtle 2022-07-16 21:05:40 -04:00 committed by GitHub
commit 2650676e31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 2 deletions

View File

@ -52,8 +52,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,