How to Create This Bar?

There is a solution in a related thread