Made the Listbox in the Label alignment test resize vertically so as to make the test more meaningful.
This commit is contained in:
parent
2967ab1752
commit
2963b2217a
|
@ -386,7 +386,8 @@ func myMain() {
|
||||||
s9 := NewHorizontalStack(NewLabel("Label"), NewProgressBar())
|
s9 := NewHorizontalStack(NewLabel("Label"), NewProgressBar())
|
||||||
s9.SetStretchy(1)
|
s9.SetStretchy(1)
|
||||||
s = NewVerticalStack(s, s2, s3, s4, s5, s6, s7, s8, s9, Space())
|
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(
|
s = NewHorizontalStack(
|
||||||
NewButton("Button"),
|
NewButton("Button"),
|
||||||
NewStandaloneLabel("Standalone"),
|
NewStandaloneLabel("Standalone"),
|
||||||
|
|
Loading…
Reference in New Issue