On Ubuntu QTreeWidget.scrollToItem has some unpleasant behavior: a
horizontal scroll happens often when not needed to show the selected
headline.  Furthermore, moving left in the tree often does not undo
the scroll.  This is annoying. The XP tree widget is better in this
regard.

Clearly, this can be fixed, but it's not enough to save and restore
the position of the horizontal scroll bar.  Instead, the horizontal
position of the underlying scroll rect must be saved/restored.  It's
probably a just a few lines of elementary math, but I've always found
such things hard to get right. So this is a "project".

Edward

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to