I'd like to display text in a listbox so that one part of the string is against the left margin and another is against the right margin.
As far as I can tell, listbox uses a variable width font, so that the simple method of inserting spaces in the middle of the string to push part of the string to the right will not work. It does not appear possible to change the font to a fixed width font (or to make any other changes to the font) without either rewriting listbox, creating a customized listbox on canvas or the like.
Is there a simpler way to put a part of a string against the right margin?

Reply With Quote


