summaryrefslogtreecommitdiff
path: root/main_test.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-26 07:01:02 -0500
committerPietro Gagliardi <[email protected]>2014-02-26 07:01:02 -0500
commit417ed1f72778721a0122932612bbeeba22c20d1e (patch)
tree1394560bfc55f5710b3ef1e05cee7f8b4002a244 /main_test.go
parente1677a8941876982fd80bd1d30176ff80b205884 (diff)
Added Grid.SetStretchy to allow one control in a Grid to fill the parent Control's space, even when resizing.
Diffstat (limited to 'main_test.go')
-rw-r--r--main_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main_test.go b/main_test.go
index ae3e425..163024e 100644
--- a/main_test.go
+++ b/main_test.go
@@ -21,6 +21,7 @@ func gridWindow() (*Window, error) {
Space(), l11, b12,
l20, c21, l22)
g.SetFilling(1, 2)
+ g.SetStretchy(1, 1)
return w, w.Open(g)
}