From 854a8a48f9eb29df71710985970ce358acf48c0c Mon Sep 17 00:00:00 2001 From: Tomas Zigo <50632337+tmszi@users.noreply.github.com> Date: Tue, 24 Mar 2020 02:29:39 +0100 Subject: [PATCH] wxGUI Manage color rules interactively (vector map): fix wx.CollapsiblePane widget layout (#449) --- gui/wxpython/modules/colorrules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/wxpython/modules/colorrules.py b/gui/wxpython/modules/colorrules.py index 9e42204ba45..ec7f6043c6e 100644 --- a/gui/wxpython/modules/colorrules.py +++ b/gui/wxpython/modules/colorrules.py @@ -1251,7 +1251,7 @@ def _doLayout(self): def OnPaneChanged(self, event=None): # redo the layout - self.Layout() + self.panel.Layout() # and also change the labels if self.cp.IsExpanded(): self.cp.SetLabel('')