On Sun, Aug 20, 2006 at 01:35:32AM -0400, Jeff Cagle wrote:
.
.
.
> 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. How
On Sun, Aug 20, 2006 at 01:35:32AM -0400, Jeff Cagle wrote:
> 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?
If you want to have columns in your list, it's called a
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 + " " *