From 161ec9dfcba7bdc1dde5549b51ee9dca4a43dda9 Mon Sep 17 00:00:00 2001 From: Mesalu Date: Thu, 6 Oct 2016 17:15:54 -0700 Subject: [PATCH] Update GridBagSizer.py Allow box sizer to expand gbs. --- demo/GridBagSizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/GridBagSizer.py b/demo/GridBagSizer.py index dbfde8b6..cda5b161 100644 --- a/demo/GridBagSizer.py +++ b/demo/GridBagSizer.py @@ -66,7 +66,7 @@ class TestFrame(wx.Frame): gbs.AddGrowableCol(2) box = wx.BoxSizer() - box.Add(gbs, 0, wx.ALL, 10) + box.Add(gbs, 1, wx.EXPAND | wx.ALL, 10) p.SetSizerAndFit(box) self.SetClientSize(p.GetSize())