Added support for label align in gauges.
This commit is contained in:
@@ -54,6 +54,7 @@ func main() {
|
||||
g3.Y = 11
|
||||
g3.Border.Label = "Gauge with custom label"
|
||||
g3.Label = "{{percent}}% (100MBs free)"
|
||||
g3.Align = termui.AlignRight
|
||||
|
||||
termui.Render(g0, g1, g2, g3)
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 32 KiB |
Reference in New Issue
Block a user