Made the Listbox in the Label alignment test resize vertically so as to make the test more meaningful.

This commit is contained in:
Pietro Gagliardi 2014-06-26 03:41:44 -04:00
parent 2967ab1752
commit 2963b2217a
1 changed files with 2 additions and 1 deletions

View File

@ -386,7 +386,8 @@ func myMain() {
s9 := NewHorizontalStack(NewLabel("Label"), NewProgressBar())
s9.SetStretchy(1)
s = NewVerticalStack(s, s2, s3, s4, s5, s6, s7, s8, s9, Space())
s.SetStretchy(9)
s.SetStretchy(7) // listbox
s.SetStretchy(9) // space
s = NewHorizontalStack(
NewButton("Button"),
NewStandaloneLabel("Standalone"),