×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    56

    Change the align of all the text in the application to "right"

    how can i change the align of all the text in the application to "right" ?
    setLayout(Item.LAYOUT_RIGHT); doens't affect the item text align.

  2. #2
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Thumbs up Re: Change the align of all the text in the application to "right"

    Hi,
    May be you have done something else wrong..
    check the code..

    read about this method..

    public void setLayout(int layout)

    Sets the layout directives for this item.

    It is illegal to call this method if this Item is contained within an Alert.

    Parameters:
    layout - a combination of layout directive values for this item
    Throws:
    IllegalArgumentException - if the value of layout is not a bit-wise OR combination of layout directives
    IllegalStateException - if this Item is contained within an Alert
    Since:
    MIDP 2.0

    and


    LAYOUT_RIGHT

    public static final int LAYOUT_RIGHT

    A layout directive indicating that this Item should have a right-aligned layout.

    Value 2 is assigned to LAYOUT_RIGHT.

    Since:
    MIDP 2.0
    thanks,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  3. #3
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    56

    Re: Change the align of all the text in the application to "right"

    i am sorry to bump , but the setlayout doesn't help

Similar Threads

  1. Replies: 10
    Last Post: 2010-10-29, 08:02
  2. iPhone Blogger Blog Creation Application
    By semaphore10 in forum News and Announcements
    Replies: 4
    Last Post: 2009-10-06, 08:49
  3. Replies: 0
    Last Post: 2008-09-18, 08:30
  4. How to change the application name on phone?
    By gloria799 in forum Symbian
    Replies: 2
    Last Post: 2007-12-13, 20:26

Posting Permissions

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