You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do not know if this can be accomplished with tview; that is, I don't see a way to hide individual GUI elements. The hiding/showing functionality appears to be available for pages, and for modals.
I can think of three work-arounds:
Dynamically removing (deleting) on hide, and re-creating and re-adding the element on show. I feel uncertain about how tview's layout mechanism will handle this, but I think it'd work. Managing all of the plumbing might be challenging.
Create two queue pages, one with a song info panel, and one without, and swap between them. I'm sure this could be done with the tview ABI, but have similar concerns as the previous option about the complexity of ensuring that everything is plumbed properly when switches happen.
Have this not be toggle-able, but configurable. That is, depending on the initialization runtime options, optionally add and plumb the song info. It'd be on by default, but Users could to turn it off on constrained environments.
#3 is the easiest, and would probably be sufficient for most use cases. As I've said before, I imagine there would be fewer people wanting to turn it on and off dynamically; more likely is that they're running in a small VT and don't have space for the song info column, or they're running on restricted memory systems and turning off the song info would prevent any cover art image data from being loaded.
Depends on #46 being merged.
The text was updated successfully, but these errors were encountered: