summaryrefslogtreecommitdiff
path: root/control.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-02 10:05:53 -0400
committerPietro Gagliardi <[email protected]>2014-10-02 10:05:53 -0400
commit982004d05052ef6aadd22dd5c4e7dbca85ab324a (patch)
tree517a0f5a5397e6fb886b5e4741aff4fa18ba10d8 /control.go
parent09db0bffffded1a68c562b2d6451c2a2b29ac279 (diff)
go fmt. Precursor to bug report filing.
Diffstat (limited to 'control.go')
-rw-r--r--control.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/control.go b/control.go
index 0358965..a8c3ecd 100644
--- a/control.go
+++ b/control.go
@@ -4,17 +4,17 @@ package ui
// Control represents a control.
type Control interface {
- setParent(p *controlParent) // controlParent defined per-platform
+ setParent(p *controlParent) // controlParent defined per-platform
controlSizing
}
// this is the same across all platforms
func baseallocate(c Control, x int, y int, width int, height int, d *sizing) []*allocation {
return []*allocation{&allocation{
- x: x,
- y: y,
- width: width,
- height: height,
- this: c,
+ x: x,
+ y: y,
+ width: width,
+ height: height,
+ this: c,
}}
}