How do you create new lines?

Hey everyone.
I want to separate two or more text labels with a new line, something like <br> in html.
How is that possible? Thanks in advance.

Using a spacer is may be not the best solution to create a new line. The width of the spacer is fix and if your application is used on a device with differend display width, it can be that the second text is still on the same line and not on a new line.
I used item.setLayout(Item.LAYOUT_NEWLINE_BEFORE) to place the text in a new line like this:
        StringItem text1 = new StringItem(null, "Text 1", Item.PLAIN);
        form.append(text1);
        StringItem text2 = new StringItem(null, "Text 2", Item.PLAIN);
        text2.setLayout(Item.LAYOUT_NEWLINE_BEFORE);
        form.append(text2);
        StringItem text3 = new StringItem(null, "Text 3", Item.PLAIN);
        text3.setLayout(Item.LAYOUT_NEWLINE_BEFORE);
        form.append(text3);

Similar Messages

  • How do you create new maps in Mail on iPad?

    How do you create new maps in Mail on iPad?
    In the iPad-manual they mention you can put messages in other mailboxes or maps (to free up the Inbox).
    But they don't mention how to create such maps.
    In the app itself I can't find a way to do it.
    thanks for all replies
    Kamiel

    Maybe you are confused by the fact I used the word 'maps' instead of 'folders' (my natural Ianguage is Dutch).
    For your question about the manual: on page 59 in the 'iPad 2 user guide' under 'organizing Email' they say you can move messages to a different mailbox or folder.

  • How do you create new faces album in photos OS X?

    How do you create new faces album in photos OS X?

    Right-click on any IMAGE anywhere, then follow the Get Info instructions.
    You can also do it on the Faces screen. At the bottom of that screen you should see a Suggested Faces bar. Double-click on one of the unnamed faces and add the person's name. If it's a new face, it will be added to face circles collection.

  • How do you create new groups within Contacts on the iPad?

    Can you create new groups within Contacts directly from the iPad, iPhone,or do you have to do it on the computer first?

    The easiest way is to get the app called group e mail.  There are a couple of others as well.  There is a way to do it on your computer, and sync it, but I find that personally frustrating.  :).  Save yourself the aggrevation, and get the app, that works pretty well.

  • How do you restrict new line in input field or delete last char. in as3?

    Sorry, Noobie here!
    I have a text input box. If the enter key is pressed, a new line begins; thus making the previous line invisible unless the backspace key is pressed.
    So, if i type "1" into the input box, then hit eneter the number "1" becomes invisible, unless I hit back.
    Now, I still need the enter key because i have an event listener that calls a function once it is pressed, but i still need that "1" to be visible.
    So, I need one of either:
    To be able to restrict the input text field from creating a new line (making max line allowed= 1)
    or
    To delete the last character entered in the input text if the enter key is pressed.
    Both of these should have the same result, however I don't know how to do both.
    If anyone can help, i'd be very grateful!

    This worked! Thanks so much!

  • How do you create new Library?

    I need to create a new Library and then add some folders\shortcuts to it and I can't figure it out.   SHLIB is not on my systems and CMD commands don't seem to work either.  I have to automate this as part of an CM2012 OSD build process so it has
    to be scripted.
    how do you do this?
    mqh7

    Hi,
    Take a look at the following articles and associated codeplex project:
    http://blogs.msdn.com/b/oldnewthing/archive/2012/08/28/10343980.aspx
    http://blog.crayon.no/blogs/ragnar/archive/2009/09/02/scripting-windows-7-libraries.aspx
    Karen Hu
    TechNet Community Support

  • How do you start new line in paragraph style?

    New trial user and can't figure out why a seemingly simple operation doesn't work..
    How do you start a new line in a paragraph block?  When I hit the enter key, it just returns to the front of the same line, overwriting the same line over and over again.
    1. Clicked Text tool.
    2. Dragged out a paragraph block.
    3. Started typing and noticed that when it reached the end of the paragraph block, it just wrapped to the beginning.
    Frustrated so could use some help.

    …but also make sure that the No Break option in the dropdown menu (triangle at upper right corner) of the Character Panel is UNchecked:

  • How do you create new mailbox

         I'm sure I'm overlooking something really simple, but I can't figure out how to make a new mail box or folder in Mail on my Ipad 3. (New Ipad / Ipad 3rd Gen.)
    There does not seem to be an "Edit" while I'm in the Mail box list.
         Does anyone have any idea what I'm doing wrong.
         I guess we're going to have to decide on what we're going to call the "New Ipad" This is going tio get confusing!
         Ron Genovesi
              PS:   It's probably me. I also don't seem to be able to rearrange the icons on my Ipad. I have to rearrange them in iTunes.

    It would seem to me that you know how to move apps so obviously this is a new issue that has arisen for you so I will suggest what I always suggest in situations like this. Restart or reset your iPad.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    I have also found that you have to hold the wiggling icons on the edge of the screen for a second or two and just hold them there - about halfway over to the next screen - and then the icon will jump to the next screen.

  • How do you create new folders in Mail?

    How are new folders created in the Mail application?

    If you are on iOS 5 and it's an IMAP type account then at the top of the list of the folders that you've currently got in the account there should be an Edit button. If it's a POP account then you can't create additional folders

  • How do you create a new apple id on the iphone

    how do you create a new apple id on the iphone 4?

    Why do you want to do that?

  • How do you create a new account for a family member?

    My daughter and I both have Ipods, and want to setup SEPARATE accounts. Itunes 7 worked great, but now when we 'upgraded' to 8, it MERGED all our files. So I thought I had a separate account, but it turns out when I load a new song, it goes into HER Itunes files. She deleted all my info, and I REALLY want a separate account (that sticks).
    My songs are still in my directory under "Mikes Itunes", but when I reloaded them into what I thought was a fresh entry, it turns out it went into my daughter's Itunes file too! What is up with Itunes 8? and how can you create a TRUE separate account so I have control over MY songs!?

    First, let's make it easier to swap between accounts. In the Accounts pane of System Preferences click on the Login Options (after unlocking the pane). Enable fast user switching. This will put a new menu in the top right of the screen. You can then swap to the other account without having to log out of the current one.
    Log into the original account. Select the folder you want access from the other account and choose Get Info from the file menu. There is a section called Sharing & Permissions. You will need to click on the padlock to make changes. Click on the + to add permissions for the other user account by selecting the user account from list that appears. Set the permission for that account to read only. Once you have it listed then choose the "Apply to enclosed items" from the gear menu below the list. This should give you access from the other account to that folder and any folders contained in it.
    For iTunes you will want to do this to the Music folder, giving you access to the files below. From within iTunes you can select Add to Library from the file menu, and then select the music from the other account to that account's iTunes library. Once you have set up the new library whoever's library is the original can clean up the library to remove any music they don't want (now that it's in the new account).

  • How do you create a new mailbox folder on iPad?

    How do you create a new mailbox folder on iPad?
    step by step directions appreciated.
    Thanks for the help.

    THank you for this very prompt response.

  • How do you create a new folder in the library folder

    How do you create a  new folder in the library?

    In the user Library? Open Finder and select Go then press the Option key. In the list you will see your user Library folder (underneath Home). Click it to open it. Now you can add a folder inside. You can left click/hold and drag the Library icon at the top of the Finder window to your Finder Sidebar so it's always avaliable.

  • How do you create a new album in photos?

    How do you create a new album in photos?

    Copied from the iPad User Guide Book which is available as a free download in iBooks.
    Organizing photos and videos
    You can create, rename, and delete albums on iPad to help you organize your photos and videos.
    Create an album:  When viewing albums, tap Edit, then tap Add. Select photos to add to the new album, then tap Done.
    Note:  Albums created on iPad aren’t synced back to your computer.
    Rename an album
    Tap Edit, then select an album.
    Rearrange albums
    Tap Edit, then drag  up or down.
    Delete an album
    Tap Edit, then tap .
    Made an assumption without reading the post carefully - and then saw that your profile indicates that you are still running iOS 4.3.3. File this info for later use!
    Message was edited by: Demo

  • How do you create a new apple account?

    how do you create a new apple account?

    Go to:http://www.apple.com/support/appleid/ and the links will lead you through setting up the kind of account you want.

Maybe you are looking for

  • Firewire 800 to Firewire 400

    Please forgive the simplistic question, but there is some conflicting information around. I have a Macbook with a firewire 400 port. I want to replace an external hard drive and I see that some have firewire 800 ports. I know I can buy an adapter tha

  • PP-QM

    Hi Expert Can u tell me how PP-QM integrate... And how this integration are configured and triggerd the pp-qm cycle. Regards Nitu pp

  • How do I manually synch itunes to my iPhone ?

    Hi I have an iphone 5 and macbook pro with all the software updates done inc IOS7 and want to be able to plug my iphone in to my macbook and manually sort and load up specific songs. I used to be able to see how to do it when I used my old 3G with my

  • Fully Connected to AirPort Extreme, But With No Internet (PLEASE HELP!)

    I have spent my Labor Day trying to figure out what is wrong with my wireless connection to no avail. I am entirely frustrated and would appreciate any helpful advice that can be offered. Here's the deal: Yesterday afternoon, the two computers on my

  • Out of Memory: ResultSet.getBytes accounts for 24,000 allocations of byte[]

    Hi, We are using Weblogic6.0 deployed on Win NT There is a query in one of our classes which returns the Catalog Items from the d/b. We have 2000 Catalog Items in the database. When w144 users concurrently try to retrieve this data we run out of memo