From 05ca4132f17a581939fd0b206319f215248e5232 Mon Sep 17 00:00:00 2001 From: George Steel Date: Sat, 27 Apr 2024 14:16:18 -0400 Subject: Add option to disable the stitch plan cache (#2655) Setting the cache size to 0 bypasses the cache completely. This is necessary during development to ensure newly-changed code actually gets run. Also fixes the error pane in the params gui. * make params warning pane large enough to see contents * rename sizers in preferences dialog descriptive names * add shapely version bound * add option to disable stitch plan cache * remove out-of-date wxg file * make a cache size of 0 disable the cache --- lib/gui/warnings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/gui/warnings.py') diff --git a/lib/gui/warnings.py b/lib/gui/warnings.py index eda1ca2e..c8359fc9 100644 --- a/lib/gui/warnings.py +++ b/lib/gui/warnings.py @@ -23,7 +23,7 @@ class WarningPanel(wx.Panel): self.main_sizer.Add(self.warning, 1, 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, 100), style=tc_style) + self.warning_text = wx.TextCtrl(self, size=(300, 300), style=tc_style) font = self.warning_text.GetFont() font.SetFamily(wx.FONTFAMILY_TELETYPE) self.warning_text.SetFont(font) -- cgit v1.2.3