MCPcopy Create free account
hub / github.com/Image-Py/imagepy / pack

Method pack

imagepy/ui/panelconfig.py:82–91  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

80 self.lst.Add( ctrl, 0, wx.EXPAND, 0 )
81
82 def pack(self):
83 self.Layout()
84 mint, minu = [], []
85 for t,u in self.tus:
86 if not t is None: mint.append(t.GetSize()[0])
87 if not u is None:minu.append(u.GetSize()[0])
88 for t,u in self.tus:
89 if not t is None:t.SetInitialSize((max(mint),-1))
90 if not u is None:u.SetInitialSize((max(minu),-1))
91 self.Fit()
92
93 def para_check(self, para, key):pass
94

Callers 2

init_viewMethod · 0.95
panelconfig.pyFile · 0.80

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected