diff options
Diffstat (limited to 'rules/rules.go')
-rw-r--r-- | rules/rules.go | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/rules/rules.go b/rules/rules.go index 45e5b56..c71df9d 100644 --- a/rules/rules.go +++ b/rules/rules.go @@ -7,6 +7,7 @@ type Format struct{ Style string Size float64 Hide bool + Align string } type Set map[string]Format @@ -23,6 +24,9 @@ func (s Set) Get(action string) (f Format) { if f.Size == 0 { f.Size = 12 } + if f.Align == "" { + f.Align = "L" + } return f } @@ -65,8 +69,9 @@ var Default = Set{ Width: 6, }, "title": { - Left: 3.6, - Width: 4, + Left: 1.5, + Width: 6, + Align: "C", }, "meta": { Left: 1.5, |