summaryrefslogtreecommitdiff
path: root/zz_test.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-23 16:54:21 -0400
committerPietro Gagliardi <[email protected]>2014-10-23 16:54:21 -0400
commit92c7598d9d0b1ec8a68f55c8a8a9e46ca1a1db50 (patch)
treed8c36c8223ace0b75990e3e2d4514a929ae79f7f /zz_test.go
parentba31d13c6d961545037cf0572c717e2643893180 (diff)
Added Textbox and implemented it on Windows.
Diffstat (limited to 'zz_test.go')
-rw-r--r--zz_test.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/zz_test.go b/zz_test.go
index 3f2f079..2634d3a 100644
--- a/zz_test.go
+++ b/zz_test.go
@@ -57,6 +57,7 @@ type testwin struct {
repainter *repainter
fe *ForeignEvent
festack Stack
+ festack2 Stack
festart Button
felabel Label
festop Button
@@ -148,7 +149,10 @@ func (tw *testwin) addfe() {
tw.openbtn, tw.fnlabel)
tw.festack.SetStretchy(4)
tw.festack.SetStretchy(6)
- tw.festack = newHorizontalStack(tw.festack, Space())
+ tw.festack2 = newVerticalStack(Space(), NewTextbox())
+ tw.festack2.SetStretchy(0)
+ tw.festack2.SetStretchy(1)
+ tw.festack = newHorizontalStack(tw.festack, tw.festack2)
tw.festack.SetStretchy(0)
tw.festack.SetStretchy(1)
tw.t.Append("Foreign Events", tw.festack)