×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Feb 2013
    Location
    Madrid
    Posts
    84

    S40 LWUIT header title color

    I am "hacking" the Nokia S40 Lwuit library to set a custom "color set" to the Buttons, ComboBox, CategoryBar, etc.

    I have success modifying theComponentnative color. But I can't find a way top change the color from the native header title. There are so many methods as getTitleComponent and getTitleStyle, but they seems not to work. I need to hardcode the title color somehow.

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    602

    Re: S40 LWUIT header title color

    This was discussed so many times on the DiBo, you should search before you post about it.
    You cannot change the HeaderBar color or font style or size in anyway shape or form (unless your in the manufacture domain, which you arent)
    If you absolutly need a different Title then i suggest you simply DONT use the native HeaderBar and design your own title and use it (you simply set the display to ForceFullScreen and then add your own title, note that doing so you lose the native command menu as well).

  3. #3
    Registered User
    Join Date
    Feb 2013
    Location
    Madrid
    Posts
    84

    Re: S40 LWUIT header title color

    Are you totally sure of what are you saying?

    I'm modifying the LWUIT lib, where, at this moment I find a way to change the system color to all the components.

    In some part of the LWUIT lib, must be set the color of the header title.

  4. #4
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    602

    Re: S40 LWUIT header title color

    I'm 100% sure about it, the native HeaderBar is not a lwuit component and you can create it yourself or look at its API calls set.

  5. #5
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,073

    Re: S40 LWUIT header title color

    The only work-around will be to have a fullscreen mode and define your own custom headerbar.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  6. #6
    Registered User
    Join Date
    Feb 2013
    Location
    Madrid
    Posts
    84

    Re: S40 LWUIT header title color

    Ok, I'm building my title header using fullscreen. Now my issue is. Is there any way to put the title to take all the width?

    Now I'm trying to put a BorderLayout and set the title in the NORTH but it doesn't fill the form's width...

    any help?

    ADD

    When I set my aplication to fullScreen mode, I lost the back commands of every screen of my app.

    o_O
    Last edited by Javier Muñoz; 2013-08-13 at 09:45.

Similar Threads

  1. LWUIT FT - Header Bar Color
    By Shayan Rais in forum Mobile Java UI and User Experience
    Replies: 11
    Last Post: 2013-08-28, 08:42
  2. How to hide/remove title bar of LWUIT form?
    By ducngo in forum Mobile Java General
    Replies: 6
    Last Post: 2012-12-07, 16:12
  3. how to title font color??
    By darkcell in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-11-24, 16:07
  4. How to change color and size of applicatin title?
    By tetrar in forum Symbian User Interface
    Replies: 0
    Last Post: 2002-10-07, 00:36

Posting Permissions

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