StaticName
Vladimir Bauer
8 years ago
| 54 | 54 |
mpb.PrependDecorators(
|
| 55 | 55 |
// StaticName decorator with minWidth and no width sync options
|
| 56 | 56 |
// If you need to change name while rendering, use DynamicName
|
| 57 | |
decor.Name(name, len(name), 0),
|
|
57 |
decor.StaticName(name, len(name), 0),
|
| 58 | 58 |
// ETA decorator with minWidth and width sync options
|
| 59 | 59 |
// DSyncSpace is shortcut for DwidthSync|DextraSpace
|
| 60 | 60 |
decor.ETA(4, decor.DSyncSpace),
|
| 26 | 26 |
mpb.PrependDecorators(
|
| 27 | 27 |
// StaticName decorator with minWidth and no width sync options
|
| 28 | 28 |
// If you need to change name while rendering, use DynamicName
|
| 29 | |
decor.Name(name, len(name), 0),
|
|
29 |
decor.StaticName(name, len(name), 0),
|
| 30 | 30 |
// ETA decorator with minWidth and width sync options
|
| 31 | 31 |
// DSyncSpace is shortcut for DwidthSync|DextraSpace
|
| 32 | 32 |
decor.ETA(4, decor.DSyncSpace),
|