aome510 / spotify-player

A Spotify player in the terminal with full feature parity
MIT License
2.95k stars 132 forks source link

Implementation of adjustable widget sizes #480

Open DOD-101 opened 1 week ago

DOD-101 commented 1 week ago

While working on #278 I have come across two different way to implement the setting of different widget sizes in the config.

Option 1

Have two config values album width & playlist width and have them be the percentage values used in the layout.

Pros

Cons

Option 2

Add a ration to the config such as 3:2:4, which will define the size of the different widgets. See: CSS-Flex

Pros

Cons