diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-26 10:24:07 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-26 10:24:07 -0400 |
| commit | 131809fc625e56abda3ce381920bb1021de9c793 (patch) | |
| tree | 6b9c7ad48b4a5afcf99d6bab2309b62ad9d76089 | |
| parent | 67f1bcfc3c9d5dd9df61e4822dcf6abe111f3f5b (diff) | |
Added a padding/margins test to the test program.
| -rw-r--r-- | test/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/main.go b/test/main.go index b424914..16513b8 100644 --- a/test/main.go +++ b/test/main.go @@ -276,6 +276,7 @@ func areaboundsTest() { var dialogTest = flag.Bool("dialog", false, "add Window.MsgBox() channel test window") 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 *doArea { @@ -340,6 +341,7 @@ func myMain() { if *invalidBefore { invalidTest(cb1, lb1, s, NewGrid(1, Space())) } + w.SetSpaced(*spacingTest) w.Open(s) if *gridtest { gridWindow() |
