Commit 6f149dbb authored by Guillaume Seguin's avatar Guillaume Seguin

Better fix for #431

parent d4f3be95
......@@ -996,7 +996,7 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
b.Bind(wx.EVT_MOUSE_EVENTS, self.editbutton)
self.custombuttonbuttons.append(b)
self.centersizer.Add(b, pos = (i // 4, i % 4), flag = wx.EXPAND)
self.panel.Fit()
self.Fit()
def help_button(self):
print _('Defines custom button. Usage: button <num> "title" [/c "colour"] command')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment