summaryrefslogtreecommitdiff
path: root/test/main.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-26 14:22:49 -0400
committerPietro Gagliardi <[email protected]>2014-06-26 14:22:49 -0400
commit2a0dbfc74a5def29d6902dcb6dc0de9e6884d032 (patch)
tree4298e5a08680af66e932bcbe70957a989c73d681 /test/main.go
parent3bedaf483a8b26d3db218d57296dfe4dc1d5d5b1 (diff)
Added margins and padding to Grid and a test program to make sure they're the same...
Diffstat (limited to 'test/main.go')
-rw-r--r--test/main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/main.go b/test/main.go
index b65a799..68f3463 100644
--- a/test/main.go
+++ b/test/main.go
@@ -280,6 +280,10 @@ var labelAlignTest = flag.Bool("label", false, "show Label Alignment test window
var spacingTest = flag.Bool("spacing", false, "margins and padding on Window")
func myMain() {
+ if *spacetest != "" {
+ spaceTest()
+ return
+ }
if *doArea {
areaTest()
return