def ApplyAttributes(self, attributes): ScrollContainer.ApplyAttributes(self, attributes) self.mainCont.Close() self.mainCont = Container(name='mainCont', parent=self.clipCont, state=uiconst.UI_NORMAL, align=uiconst.TOPLEFT) self.mainContTopHeight = (0, 0) self.mainCont._OnResize = self._OnMainContResize
def ApplyAttributes(self, attributes): ScrollContainer.ApplyAttributes(self, attributes) self.initialized = False self.typeID = attributes.typeID