summaryrefslogtreecommitdiff
path: root/lib/gui/warnings.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gui/warnings.py')
-rw-r--r--lib/gui/warnings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gui/warnings.py b/lib/gui/warnings.py
index c8359fc9..18d91532 100644
--- a/lib/gui/warnings.py
+++ b/lib/gui/warnings.py
@@ -20,7 +20,7 @@ class WarningPanel(wx.Panel):
self.warning = wx.StaticText(self)
self.warning.SetLabel(_("An error occurred while rendering the stitch plan:"))
self.warning.SetForegroundColour(wx.Colour(255, 25, 25))
- self.main_sizer.Add(self.warning, 1, wx.LEFT | wx.BOTTOM | wx.EXPAND, 10)
+ self.main_sizer.Add(self.warning, 0, wx.LEFT | wx.BOTTOM | wx.EXPAND, 10)
tc_style = wx.TE_MULTILINE | wx.TE_READONLY | wx.VSCROLL | wx.TE_RICH2
self.warning_text = wx.TextCtrl(self, size=(300, 300), style=tc_style)