×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    4

    Question Widget's style controlled by c++ code.

    Hello,

    First issue:

    According to this source Home Screen Publishing API: Appendix A: Widget templates there is no way to edit layout of widget template.
    You can use only above described widget templates. Furthermore, you can use wideimage template as a generic template for your own layouts.
    I must ask. Is there any chance to edit style ( colors, font ) of those templates ? For example:

    Code:
    ...
    widget.setItem( "text.text_box", "...CSS..."");
    ...
    Second issue:

    I created a list box ( CAknDoubleStyleListBox ) using eclipse designer. I need to draw rows with different font colours. For example: first_row.font_color = KRgbRed; second_row.font_color = KRgbBLue; .... Build-in ItemDrawer can't do that (?). Is there any way to attach own ItemDrawer ? I can't just override CAknDoubleStyleListBox::CreateItemDrawerL();
    because of designer.

    I'm using "Nokia_N97_SDK_v0.5".

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Widget's style controlled by c++ code.

    C++ is really different to HTML, so there is no easy way on changing the layouts of Visual appearance for native components, anyway, you could search and find quite a lot of information on previous attempts (which I believe some were successfull) from this forum, thus I would try searching, anyway gotta admit it is not easy to change the listboxes..

Similar Threads

  1. acu error code -104011, state code -6 VPN Policy server
    By leyoo in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 2
    Last Post: 2008-09-05, 07:16
  2. Replies: 2
    Last Post: 2007-10-05, 20:40
  3. Link errors when trying to Display bitmap
    By Bkc82 in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2006-01-16, 22:46
  4. Replies: 0
    Last Post: 2003-09-26, 15:07

Posting Permissions

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