From a3222f248d25f284d5f4b7c0626ab1140bb0db9a Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 10 Jun 2014 11:38:52 -0400 Subject: More go fmt. --- label.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'label.go') diff --git a/label.go b/label.go index e07dc47..c5e2ea8 100644 --- a/label.go +++ b/label.go @@ -10,17 +10,17 @@ import ( // Label text is drawn on a single line; text that does not fit is truncated. // TODO vertical alignment type Label struct { - lock sync.Mutex - created bool - sysData *sysData - initText string + lock sync.Mutex + created bool + sysData *sysData + initText string } // NewLabel creates a new Label with the specified text. func NewLabel(text string) *Label { return &Label{ - sysData: mksysdata(c_label), - initText: text, + sysData: mksysdata(c_label), + initText: text, } } @@ -62,11 +62,11 @@ func (l *Label) make(window *sysData) error { func (l *Label) setRect(x int, y int, width int, height int, rr *[]resizerequest) { *rr = append(*rr, resizerequest{ - sysData: l.sysData, - x: x, - y: y, - width: width, - height: height, + sysData: l.sysData, + x: x, + y: y, + width: width, + height: height, }) } -- cgit v1.2.3