def render(self):
    if (self.rows <= 0):
        return
    line = self.label[:self.cols]
    line = (u'%*s' % ((self.cols * self.align), line))
    self.addStr(0, 0, line, self.color)
    ViewWindow.render(self)
def render(self):
    if (self.rows <= 0):
        return
    line = self.label[:self.cols]
    line = (u'%*s' % ((self.cols * self.align), line))
    self.addStr(0, 0, line, self.color)
    ViewWindow.render(self)