Lines Matching defs:width
50 def width(self):
61 s += " {:^{width}s} |".format(arg, width=w - 2)
68 w -= 1 # width includes | separator
71 s += " {:{width}s} |".format(arg, width=w - 2)
73 s += "{:^{width}s}|".format("x" if arg else " ", width=w)
75 s += "{:^{width}d}|".format(arg, width=w)
78 s += "|".rjust(self.width - len(s), " ")
82 return "+" + "-" * (self.width - 2) + "+"