×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    1

    Is it able to change the font size of a List?

    The element in the list is a string, it may display all content if it allow to change the font size to smaller. How can i do it? I have already to List.setFont() but nothing is changed. Thanks.

  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    20

    Re: Is it able to change the font size of a List?

    Font f;

    f = Font.getFont(Font.FACE_SYSTEM,Font.STYLE_PLAIN,Font.SIZE_SMALL);

    List.setFont(int,Font);




    The getFont() can have the following parameters
    1. face - one of FACE_SYSTEM, FACE_MONOSPACE, or FACE_PROPORTIONAL
    2. style - STYLE_PLAIN, or a combination of STYLE_BOLD, STYLE_ITALIC, and STYLE_UNDERLINED
    3. size - one of SIZE_SMALL, SIZE_MEDIUM, or SIZE_LARGE

  3. #3
    Registered User
    Join Date
    Jan 2007
    Posts
    6

    Re: Is it able to change the font size of a List?

    It works for 3rd, e.g. N73, but it doesn't work for 2rd, N70.......Am I right?

    Quote Originally Posted by amit_prog
    Font f;

    f = Font.getFont(Font.FACE_SYSTEM,Font.STYLE_PLAIN,Font.SIZE_SMALL);

    List.setFont(int,Font);




    The getFont() can have the following parameters
    1. face - one of FACE_SYSTEM, FACE_MONOSPACE, or FACE_PROPORTIONAL
    2. style - STYLE_PLAIN, or a combination of STYLE_BOLD, STYLE_ITALIC, and STYLE_UNDERLINED
    3. size - one of SIZE_SMALL, SIZE_MEDIUM, or SIZE_LARGE

Similar Threads

  1. Font size for series 60 or Nokia handset
    By funfrock in forum Mobile Java General
    Replies: 13
    Last Post: 2009-09-17, 06:25
  2. Change Font in CEikRichTextEditor
    By Holler in forum Symbian User Interface
    Replies: 2
    Last Post: 2006-08-06, 18:11
  3. Font size in a List Element
    By askii in forum Mobile Java General
    Replies: 7
    Last Post: 2005-10-01, 12:39
  4. Contact List Picture Size
    By Tall-Guy in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2004-04-10, 15:52
  5. how do you change the size of the font?
    By Nokia_Archive in forum Symbian
    Replies: 1
    Last Post: 2002-05-31, 14:42

Posting Permissions

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