[mythtv] mythmusic patch - trivial

Matt Zimmerman mdz at debian.org
Sun Apr 6 20:24:56 EDT 2003


On Sun, Apr 06, 2003 at 03:13:39PM -0700, Bruce Markey wrote:

> Matt Zimmerman wrote:
> >Now that I think about it, isn't there some way to set the
> >alignment/justification of the columns in these things?
> 
> QString::leftJustify and rightJustify can fill or truncate
> to a specified width.
> 
> http://doc.trolltech.com/3.1/qstring.html#leftJustify

That works (and I didn't know about it), but I was thinking that since
QListViewItems have a column-based structure, there would be a way to set
the alignment of the column directly (rather than padding the contents with
spaces...does this even work correctly with proportionally spaced fonts?).

-- 
 - mdz


More information about the mythtv-dev mailing list