Divide the bar into parts.
widths holds the right-edge x coordinate of each part; a final value of -1 extends the last part to the right edge of the bar.
See Implementation
Divide the bar into parts.
widths holds the right-edge x coordinate of each part; a final value of -1 extends the last part to the right edge of the bar.