瀏覽代碼

wxGUI Manage color rules interactively (vector map): fix wx.CollapsiblePane widget layout (#449)

Tomas Zigo 5 年之前
父節點
當前提交
7ac1713422
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/modules/colorrules.py

+ 1 - 1
gui/wxpython/modules/colorrules.py

@@ -1251,7 +1251,7 @@ class VectorColorTable(ColorTable):
 
     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('')