padding = len(self.text) / 2 + 1
format = "%-" + str(padding) + "." + str(padding) + "s"
pad = string.replace(format % " "," ",paddingchar)
padtext = self.text + pad
if wraparound:
padding = len(self.text) / 2 + 1
format = "%-" + str(padding) + "." + str(padding) + "s"
pad = string.replace(format % " "," ",paddingchar)
padtext = self.text + pad
if wraparound: