×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Pune
    Posts
    223

    Text at Center of Screen

    Hi All,
    Can anybody tell me how to append text with large font size and at the center of the screen?

  2. #2
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Bournemouth, UK
    Posts
    65

    Re: Text at Center of Screen

    Font font = Font.getFont (Font.FACE_MONOSPACE, Font.STYLE_BOLD,
    Font.SIZE_LARGE) ;
    g.setFont (font);
    g.drawString("String", getWidth()/2, getHeight()/2, BASELINE|HCENTER);
    Made With Caffiene And Sleepless Nights

Similar Threads

  1. How to write some text on standby screen?
    By Gowtham_India in forum Symbian User Interface
    Replies: 12
    Last Post: 2008-04-07, 13:09
  2. Replies: 4
    Last Post: 2007-08-31, 07:32
  3. Floating text on phone screen
    By MuSymbian in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-05-25, 16:11
  4. how to get text displayed on the screen?
    By yangym_2000 in forum Symbian
    Replies: 3
    Last Post: 2004-04-09, 12:36
  5. Text in Edwin too long for the screen
    By BigBozMan in forum Symbian
    Replies: 3
    Last Post: 2003-07-17, 10:54

Posting Permissions

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