diff options
| author | Pietro Gagliardi <[email protected]> | 2014-10-12 11:54:58 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-10-12 11:54:58 -0400 |
| commit | 1b070b3f107b8d421d3c3dc709d2da98c99db692 (patch) | |
| tree | f1d8cd9a6535489b67bd3fa6ac99567bc30729f2 /zz_test.go | |
| parent | ea391ef84109f42f7b5cf51b4976845e9320aa3f (diff) | |
Revert "Began making the spaced property per-container." Things are more complicated here than it's worth. Will need to tear everything apart and redo the whole control hierarchy. Sigh...
This reverts commit ea391ef84109f42f7b5cf51b4976845e9320aa3f.
Diffstat (limited to 'zz_test.go')
| -rw-r--r-- | zz_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,6 @@ import ( var closeOnClick = flag.Bool("close", false, "close on click") var smallWindow = flag.Bool("small", false, "open a small window (test Mac OS X initial control sizing)") -var spaced = flag.Bool("spaced", false, "enable spacing") type dtype struct { Name string @@ -263,6 +262,7 @@ var tw *testwin // because Cocoa hates being run off the main thread, even if it's run exclusively off the main thread func init() { + flag.BoolVar(&spaced, "spaced", false, "enable spacing") flag.Parse() go func() { tw = new(testwin) |
