Added a padding/margins test to the test program.

This commit is contained in:
Pietro Gagliardi 2014-06-26 10:24:07 -04:00
parent 67f1bcfc3c
commit 131809fc62
1 changed files with 2 additions and 0 deletions

View File

@ -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()