diff --git a/label.go b/label.go index a3f7806..22a9cf9 100644 --- a/label.go +++ b/label.go @@ -12,5 +12,6 @@ func NewLabel (text string) *Label { this := &Label { TextBox: tomo.NewTextBox() } this.SetRole(tomo.R("objects", "Label", "")) this.SetText(text) + this.SetAlign(tomo.AlignStart, tomo.AlignMiddle) return this }