summaryrefslogtreecommitdiff
path: root/testSmartWindow.go
blob: 354cc785772daa720a64060de876d028379e7cde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// testing the smart window
package main

import 	(
	"go.wit.com/log"
	// "go.wit.com/gui/cloudflare"
	"go.wit.com/apps/control-panel-dns/smartwindow"
)

func testSmartWindow(sw *smartwindow.SmartWindow) {
	log.Log(WARN, "testSmartWindow() START")
	grid := sw.Box().NewGrid("test", 5, 1)
	grid.NewLabel("test 1")
	grid.NewLabel("test 1")
	grid.NewLabel("test 2")
	grid.NewLabel("test 2")
	grid.NewLabel("test 3")
	grid.NewLabel("test 3")
	grid.NewLabel("test 3")
	grid.NewLabel("test 3")
}