×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Iran - Tabriz
    Posts
    111

    LWUIT:problem in show text on button ?

    Hi
    i try to add string text to button by this code :
    Code:
     final Button button1 = new Button("Hello",img);
    but it`s show text left side of image ! i want to show text on bottom(down) side of image
    how can i do this ?
    thanks

  2. #2
    Registered User
    Join Date
    Oct 2009
    Posts
    27

    Re: LWUIT:problem in show text on button ?

    button1.setTextPosition(Button.BOTTOM);

Similar Threads

  1. Replies: 8
    Last Post: 2010-05-20, 18:22
  2. LWUIT - set button color
    By burinutit in forum Mobile Java General
    Replies: 6
    Last Post: 2009-11-27, 14:34
  3. Button help won't show...
    By mapeters in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-03-03, 17:27
  4. Creating slide show in Rich text with bitmap and text
    By pravin_swami in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-01-29, 09:41

Posting Permissions

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