mirror of
https://github.com/lalbornoz/roar.git
synced 2024-12-22 20:36:37 +00:00
libroar/RoarWindowMelp.py: set button accelerator.
This commit is contained in:
parent
36bb7c5716
commit
ddc0d94bef
@ -20,7 +20,7 @@ class RoarWindowMelp(wx.Dialog):
|
||||
helpLabel = "".join(fileObject.readlines())
|
||||
self.title = wx.StaticText(self.panel, label=helpLabel, style=wx.ALIGN_LEFT)
|
||||
self.title.SetFont(wx.Font(8, wx.MODERN, wx.NORMAL, wx.NORMAL, underline=False))
|
||||
self.buttonRoar = wx.Button(self.panel, label="explodes.")
|
||||
self.buttonRoar = wx.Button(self.panel, label="&explodes.")
|
||||
self.buttonRoar.Bind(wx.EVT_BUTTON, self.onButtonRoar)
|
||||
self.sizer.AddMany(((self.title, 1, wx.ALL | wx.CENTER | wx.EXPAND, 4), (self.buttonRoar, 0, wx.ALL | wx.CENTER, 4),))
|
||||
self.panel.SetSizerAndFit(self.sizer)
|
||||
|
Loading…
Reference in New Issue
Block a user