Skip to content

Commit

Permalink
wxPython 4/Launcher: spell out GridSizer gaps, prevents overload erro…
Browse files Browse the repository at this point in the history
…r. re nvaccess#7077.

In wxPython 4, when instantiating wx.GridSizer, horizontal and vertical gaps in pixels must be specified.
  • Loading branch information
josephsl committed Apr 16, 2017
1 parent bf6ef64 commit e48f19e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/gui/__init__.py
Expand Up @@ -652,7 +652,7 @@ def __init__(self, parent):
self.licenseAgreeCheckbox.Value = False
self.licenseAgreeCheckbox.Bind(wx.EVT_CHECKBOX, self.onLicenseAgree)

sizer = sHelper.addItem(wx.GridSizer(rows=2, cols=2))
sizer = sHelper.addItem(wx.GridSizer(2, 2, 0, 0))
self.actionButtons = []
# Translators: The label of the button in NVDA installation program to install NvDA on the user's computer.
ctrl = wx.Button(self, label=_("&Install NVDA on this computer"))
Expand Down

0 comments on commit e48f19e

Please sign in to comment.