I have strings that are composed of multiple properties within an object. I wanted to format the strings so that they came out nicely in a listbox. However, listbox widgets choke on the '\t' character, so I tried to roll my own:
def get_lbstring(self): s = self.datestring return s + " " * (20 - len(s)) + self.name unfortunately, listboxes *also* have variable-width fonts (at least as the default). Short of changing to Courier font, is there a way to get items to line up in a listbox? Thanks, Jeff Cagle _______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss
