diff options
| author | Pietro Gagliardi <[email protected]> | 2014-10-28 11:01:02 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-10-28 11:01:02 -0400 |
| commit | 649b52b6ef273c2ea5a4cf881835a7fd61bd4df1 (patch) | |
| tree | d22a9317599e6b03ecd4b1de0d753c71bdfe306b /zz_test.go | |
| parent | 61cd7f5b0a70f261f65fc790fadf9d6ea64e8b4f (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.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |
