×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    May 2008
    Location
    India
    Posts
    172

    Question Generic Button - Setting font size - S60 v5.0

    Hi,

    I need to set the font size and change the default font color for a Generic Button (CAknButton) for S60 v5.0. Please help.

    Thanks,
    Shanker

  2. #2
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,348

    Re: Generic Button - Setting font size - S60 v5.0

    Try to use this function - CAknButton::SetTextFont ( const CFont * aFont )

  3. #3
    Regular Contributor
    Join Date
    May 2008
    Location
    India
    Posts
    172

    Re: Generic Button - Setting font size - S60 v5.0

    Hi A.A.M.,

    Will try and let you know.
    Thank you.

    Regards,
    Shanker

  4. #4
    Regular Contributor
    Join Date
    May 2008
    Location
    India
    Posts
    172

    Re: Generic Button - Setting font size - S60 v5.0

    Hi A.A.M.,

    It worked.
    Thanks for the tip.

    Regards,
    Shanker

  5. #5
    Registered User
    Join Date
    Mar 2008
    Posts
    41

    Re: Generic Button - Setting font size - S60 v5.0

    Hi Nair,

    I am trying to change the font size in my button class. I am unable to do it. Can you tell me how to do it with the settextfont API of the button class.

    Thanks for the help,
    Chand.M

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

    Re: Generic Button - Setting font size - S60 v5.0

    How did you try ?, and what happened ?

Similar Threads

  1. Replies: 2
    Last Post: 2009-03-25, 09:56
  2. Python for S60 1.9.1 released
    By tvijayan in forum Symbian
    Replies: 30
    Last Post: 2009-02-26, 06:16
  3. Using the font from setting list in custom listbox
    By alav in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-11-05, 17:17
  4. Replies: 0
    Last Post: 2008-01-17, 06:22
  5. S60 3rd FP1 emulator scn size issues..
    By John.Holloway in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2007-07-06, 14:21

Posting Permissions

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