summaryrefslogtreecommitdiff
path: root/zz_test.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-28 11:01:02 -0400
committerPietro Gagliardi <[email protected]>2014-10-28 11:01:02 -0400
commit649b52b6ef273c2ea5a4cf881835a7fd61bd4df1 (patch)
treed22a9317599e6b03ecd4b1de0d753c71bdfe306b /zz_test.go
parent61cd7f5b0a70f261f65fc790fadf9d6ea64e8b4f (diff)
Set up the absolute basic Spinbox and implemented it on GTK+. This is easy as it's one control on GTK+; now we have to do it on Windows and Mac OS X. And on those platforms, those are two separate controls (a standard edit control and an up-down/NSSpinner).
Diffstat (limited to 'zz_test.go')
-rw-r--r--zz_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/zz_test.go b/zz_test.go
index 2634d3a..c7f864a 100644
--- a/zz_test.go
+++ b/zz_test.go
@@ -149,9 +149,9 @@ func (tw *testwin) addfe() {
tw.openbtn, tw.fnlabel)
tw.festack.SetStretchy(4)
tw.festack.SetStretchy(6)
- tw.festack2 = newVerticalStack(Space(), NewTextbox())
- tw.festack2.SetStretchy(0)
+ tw.festack2 = newVerticalStack(NewSpinbox(), Space(), NewTextbox())
tw.festack2.SetStretchy(1)
+ tw.festack2.SetStretchy(2)
tw.festack = newHorizontalStack(tw.festack, tw.festack2)
tw.festack.SetStretchy(0)
tw.festack.SetStretchy(1)