Explain what is DSyncSpace
Vladimir Bauer
8 years ago
| 87 | 87 |
bar := p.AddBar(int64(total),
|
| 88 | 88 |
mpb.PrependDecorators(
|
| 89 | 89 |
decor.StaticName(name, 0, 0),
|
|
90 |
// DSyncSpace is shortcut for DwidthSync|DextraSpace
|
|
91 |
// means sync the width of respective decorator's column
|
|
92 |
// and prepend one extra space.
|
| 90 | 93 |
decor.Percentage(3, decor.DSyncSpace),
|
| 91 | 94 |
),
|
| 92 | 95 |
mpb.AppendDecorators(
|
| 21 | 21 |
bar := p.AddBar(int64(total),
|
| 22 | 22 |
mpb.PrependDecorators(
|
| 23 | 23 |
decor.StaticName(name, 0, 0),
|
|
24 |
// DSyncSpace is shortcut for DwidthSync|DextraSpace
|
|
25 |
// means sync the width of respective decorator's column
|
|
26 |
// and prepend one extra space.
|
| 24 | 27 |
decor.Percentage(3, decor.DSyncSpace),
|
| 25 | 28 |
),
|
| 26 | 29 |
mpb.AppendDecorators(
|