Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User birch01's Avatar
    Join Date
    Feb 2010
    Posts
    104
    Hi,

    I'm trying to customize the look of a list in QML. Everything is done except one annoying detail. I don't know how to change the default blue gradient on pressed item. Not the highlight for the current item. The default blue gradient that appears when you click/tap an item.

    Sorry for the bad description but, I have no idea how to call that thing in english.

    Any ideas on how to customize that blue gradient?

  2. #2
    Nokia Developer Expert Villep's Avatar
    Join Date
    Jun 2012
    Posts
    55
    Which platform(s) are you developing for? Are you using your own delegate in the ListView?

    Br,
    Villep

  3. #3
    Registered User birch01's Avatar
    Join Date
    Feb 2010
    Posts
    104
    I'm developing for Symbian Anna/Belle.

    At the moment I solved the problem by avoiding the use of ListItem. I used an Item then added MouseArea to capture actions and implemented custom graphic change.

    But still, would be nice to know how to change ListItem.

  4. #4
    Nokia Developer Expert Villep's Avatar
    Join Date
    Jun 2012
    Posts
    55
    Unfortunately there is no easy way to change the ListItem pressed graphics. Easiest way is to do what you already did, implement your own delegate and use a MouseArea combined with onPressed, onReleased and onCanceled to handle the changes in the 'pressed' highlight.

    Br,
    Villep

  5. #5
    Registered User birch01's Avatar
    Join Date
    Feb 2010
    Posts
    104
    Thanks. At least I know I used the best possible solution. Plus, should work on meego without modification also

Similar Threads

  1. Replies: 3
    Last Post: 2012-07-22, 23:59
  2. ListView inside ListView
    By hassan kassem in forum [Archived] Qt Quick
    Replies: 2
    Last Post: 2011-10-20, 10:53
  3. E72, customizing
    By Angad in forum General Development Questions
    Replies: 1
    Last Post: 2010-08-06, 16:10
  4. customizing Log
    By rokroff in forum Symbian C++
    Replies: 6
    Last Post: 2010-05-06, 16:32
  5. Customizing
    By mgottburg in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2005-09-03, 15:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved