multi-progress icon indicating copy to clipboard operation
multi-progress copied to clipboard

Allign columns

Open piranna opened this issue 7 years ago • 3 comments

Allign the different fields of each progressbar to show it nicer. So far seems it would be just enough with the download name, so I would pad them with spaces up to the lenght of the biggest one.

piranna avatar Aug 16 '16 23:08 piranna

Sounds simple enough. Good idea.

pitaj avatar Aug 17 '16 00:08 pitaj

Thank you :-) Problem with that is that maybe we should add some placeholders so multi-progress can be able to manage them... Maybe could be done if being given a string template and a literals instead of a string and processing it?

piranna avatar Aug 17 '16 07:08 piranna

Seems a bit hackyist, but since ProgressBar objects provides direct access to the format string, we could mimic it, and use a custom :name field (for example, we can use any other name or also complex string template placeholders) and update the progress bar format string with it already replaced :-)

piranna avatar Aug 17 '16 08:08 piranna