Fix alignment error message (#21)

This commit is contained in:
cbialobos 2020-07-13 23:19:47 +02:00 committed by GitHub
parent 0220e98b8d
commit da530cd18b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,7 +223,7 @@ class MainFrame(wx.Frame):
serial_boxsizer = wx.BoxSizer(wx.HORIZONTAL)
serial_boxsizer.Add(self.choice, 1, wx.EXPAND)
serial_boxsizer.AddStretchSpacer(0)
serial_boxsizer.Add(reload_button, 0, wx.ALIGN_RIGHT, 20)
serial_boxsizer.Add(reload_button, 0, wx.ALIGN_NOT, 20)
button = wx.Button(panel, -1, "Flash ESP")
button.Bind(wx.EVT_BUTTON, on_clicked)