×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    279

    How to change background color of SelectionListItem ?

    Hi,
    How to change background color/image of SelectionListItem to appropriate my theme?
    i tried to add
    property alias bg:background.source in the SelectionListItem .qml and it is solved the problem on simulator only

    Ram

  2. #2
    Super Contributor
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: How to change background color of SelectionListItem ?

    Hi Ram,

    Could you clarify what device are you targeting to?

    Br,
    Ilkka

  3. #3
    Registered User
    Join Date
    Jul 2007
    Posts
    279

    Re: How to change background color of SelectionListItem ?

    I'm targeting N8 which is compatible with symbian components
    but the problem is related to my solution because i'm modyfying on the build file "SelectionListItem .qml " which doesn't been packaged with the app

  4. #4
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: How to change background color of SelectionListItem ?

    Import the SelectionListItem.qml in your project and rename it to something like MySelectionListItem .qml
    replace
    import "." 1.1
    with
    import com.nokia.symbian 1.1

    to use your modified component you have to use this:

    MySelectionListItem {

    }

    instead of

    SelectionListItem {

    }

Similar Threads

  1. softkeys background color change...
    By raj8nokiaforum in forum Symbian User Interface
    Replies: 0
    Last Post: 2009-05-28, 11:19
  2. how to change background color of CAknSingleLargeStyleListBox
    By AS_r in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-07-02, 05:40
  3. How to change the background color of a CAknSingleStyleListBox
    By varssuda in forum General Development Questions
    Replies: 0
    Last Post: 2008-04-25, 04:34
  4. How to change grid's background color
    By ludylu in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-03-19, 05:12
  5. Dynamic change background color
    By s2005 in forum Symbian
    Replies: 0
    Last Post: 2005-11-03, 21:37

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •