[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    right-align QListview column
From:       Edwin Schepers <yez () home ! nl>
Date:       2004-05-26 21:35:15
Message-ID: 200405262335.16142.yez () home ! nl
[Download RAW message or body]

Hi,
I'd like to right-align items in a qlistview column. It hold filenames( incl. 
path) . Now when the column is too small for the complete filename, I'd like 
to see the right of the filename.
How can I do this ?

When I use QListView::setColumnAlignment(1, Qt::AlignRight) , I can 
right-align but when the filename is too long for the column, it gets cut at 
the end. I'd like it to be cut at the beginning.

Thanks,
Edwin
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic