summaryrefslogtreecommitdiff
path: root/zz_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'zz_test.go')
-rw-r--r--zz_test.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/zz_test.go b/zz_test.go
index 06c9cda..6caf95f 100644
--- a/zz_test.go
+++ b/zz_test.go
@@ -11,10 +11,9 @@ func TestIt(t *testing.T) {
Quit()
return true
})
- c := NewCheckbox("Click Me")
- c.OnToggled(func(c *Checkbox) {
- w.SetMargined(c.Checked())
- })
+ c := NewEditableCombobox()
+ c.Append("Item 1")
+ c.Append("Item 2")
w.SetChild(c)
w.Show()
})