Skip to content
This repository was archived by the owner on Nov 8, 2021. It is now read-only.

Commit e985c8e

Browse files
michharhuxuan
authored andcommitted
additional args needed for wx.GridSizer (#48)
GridSizer needs extra arguments to work with the latest wxPython package (v4.0.0b2). These additional arguments provide vertical and horizontal gap of white space.
1 parent c9048b6 commit e985c8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample/view/panel_subscription.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def __init__(self, parent):
3939
self.link.SetBackgroundColour(colour_window)
4040
self.sizer.Add(self.link, flag=flag, border=5)
4141

42-
subgridsizer = wx.GridSizer(rows=2, cols=2)
42+
subgridsizer = wx.GridSizer(rows=2, cols=2, hgap=5, vgap=5)
4343

4444
flag = wx.ALIGN_CENTER_VERTICAL | wx.ALL | wx.FIXED_MINSIZE
4545
label = 'Subscription Key : '

0 commit comments

Comments
 (0)