Hi,
in our application we right-align dates and numbers in QTreeViews using the 
TextAlignmentRole. The problem is that Qt shows the editor (QLineEdit) for 
those items, over the column on the right of the current cell. I tried to 
ensure QLineEdit's alignment was 'RightAlign' so at least it would go over 
current cell but that didn't work. 

I attach a small image showing the problem. The edited text "23/02/2011" 
should be shown right after the rest of the dates.

Anyone have an idea how to solve that?

Thanks in advance!

-- 
Albert Cervera i Areny
http://www.NaN-tic.com
OpenERP Partners
Tel: +34 93 553 18 03
skype: nan-oficina

http://twitter.com/albertnan 
http://www.nan-tic.com/blog

<<attachment: incorrect-alignment.png>>

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to