×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jun 2007
    Posts
    17

    listbox with small graphic vs. listbox with large graphic

    Hi,

    I have a listbox with icons. I use SVG icon from sdk qgn_menu.svg. When I use CAknDoubleGraphicStyleListBox (listbox with small graphic) the icon is not visible, but when I change to CAknDoubleLargeStyleListBox (listbox with large graphic) the icon is visible. Can this be a problem with the icon itself or rather with the code? I am building the listbox at runtime.
    the problem does not exists on the emulator only on s60 3rd device.

    regards
    hs

  2. #2
    Registered User
    Join Date
    Dec 2006
    Posts
    187

    Re: listbox with small graphic vs. listbox with large graphic

    hi huami:

    can u post ur code of using SVG icons with CAknDoubleGraphicStyleListBox (listbox with small graphic)and icon is not visible.

    Regards
    Asif Nazir

  3. #3
    Registered User
    Join Date
    Jun 2007
    Posts
    17

    Re: listbox with small graphic vs. listbox with large graphic

    hi,

    I have tested my application with icon created using adobe illustrator and now it works with both types of listboxes. it seems like the icon from sdk is not compatible with s60 3rd devices.

    regards
    hs

  4. #4
    Super Contributor
    Join Date
    Jul 2007
    Location
    Magnitogorsk, Russia
    Posts
    536

    Re: listbox with small graphic vs. listbox with large graphic

    Possibly viewbox attribute in SVG tag is incorrect...

    Here is part of my working icon:

    <svg baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" height="88" version="1.0" viewBox="0 0 88 88" width="88" xmlns:xlink="http://www.w3.org/1999/xlink">

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,672

    Re: listbox with small graphic vs. listbox with large graphic

    Quote Originally Posted by huami View Post
    I have tested my application with icon created using adobe illustrator and now it works with both types of listboxes. it seems like the icon from sdk is not compatible with s60 3rd devices.
    If the SDK is 3rd ed. FP1, and the device is 3rd ed. noFP, you might want to check FNTL (http://www.forum.nokia.com/document/...al_library.htm), in particular this one: http://forum.nokia.com/document/Foru...SVG_images.htm
    The viewbox problem mentioned by Den123 may also apply (http://www.forum.nokia.com/document/..._attribute.htm)

Similar Threads

  1. Findbox with graphic listbox problem (wrong filtering)
    By yavolinsky in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-02-03, 02:32
  2. Replies: 2
    Last Post: 2007-04-05, 06:22
  3. double item with large graphic listbox
    By oiram1 in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-06-10, 02:03
  4. how to add items to a ListBox with doulbe line and large icon?
    By liuajie in forum Symbian User Interface
    Replies: 2
    Last Post: 2002-11-22, 04:59
  5. Replies: 2
    Last Post: 2002-06-26, 08:57

Posting Permissions

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