Thread
:
[ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
View Single Post
marxian
2011-04-12 , 08:44
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#
309
Originally Posted by
slender
@marxian
Do you happen to know how to disable highlighting of list items?
You have already made the necessary changes. The default highlightRangeMode is NoHighlightRange. At least that is what the documentation says:
Valid values for highlightRangeMode are:
ListView.ApplyRange - the view attempts to maintain the highlight within the range. However, the highlight can move outside of the range at the ends of the list or due to mouse interaction.
ListView.StrictlyEnforceRange - the highlight never moves outside of the range. The current item changes if a keyboard or mouse action would cause the highlight to move outside of the range.
ListView.NoHighlightRange - this is the default value.
These things are always changing, since QML is still in a relatively early stage of development. You could try setting the property to ListView.NoHighlightRange explicitly. Beyond that, I don't think there is anything more that can be done.
Be aware that by making these changes, there will not be any automatic grabbing of additional results, since this depends on the the currentIndex value, which does not change when the highlight range is not enforced.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.'
- J K Galbraith
My website
GitHub
Quote & Reply
|
The Following User Says Thank You to marxian For This Useful Post:
slender
marxian
View Public Profile
Send a private message to marxian
Find all posts by marxian