×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    35

    How to scroll a text in the Container which is in a label

    Hi all

    can anybody tell How to scroll a text in the Container which is in a label? Following is the code snippet which i am using for this purpose.

    final Dialog details = new Dialog(ProjectConstants.STR_CONTACT_DETAILS);
    Container cnt_detail = new Container(new BoxLayout(BoxLayout.Y_AXIS));
    Label homeemail=new Label(contact.getHomeemail());
    cnt_detail.addComponent(homeemail);
    details.addComponent(cnt_detail);




    Please reply fast. immediate help is required..

  2. #2
    Nokia Developer Champion
    Join Date
    Apr 2007
    Posts
    2,708

    Re: How to scroll a text in the Container which is in a label

    have you tried the LWUIT Forum ?
    Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them.

  3. #3
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: How to scroll a text in the Container which is in a label

    Quote Originally Posted by Manish_Bansal View Post
    Hi all

    can anybody tell How to scroll a text in the Container which is in a label? Following is the code snippet which i am using for this purpose.

    final Dialog details = new Dialog(ProjectConstants.STR_CONTACT_DETAILS);
    Container cnt_detail = new Container(new BoxLayout(BoxLayout.Y_AXIS));
    Label homeemail=new Label(contact.getHomeemail());
    cnt_detail.addComponent(homeemail);
    details.addComponent(cnt_detail);



    Please reply fast. immediate help is required..
    Did you try to use setSmoothScrolling(true) on label?

    Label in LWUIT allows only horizontal Ticker which can be set by setTickerEnabled(true);

    For your purpose - Please use TextArea , it would give you better result for multi-line email text and its scrolling.
    Thanks,
    Ekta

  4. #4
    Registered User
    Join Date
    Jun 2009
    Posts
    35

    Re: How to scroll a text in the Container which is in a label

    thanks ektasrv............. issue got solved

Similar Threads

  1. how to scroll text message or text Ad
    By shaktiqt123 in forum Qt
    Replies: 7
    Last Post: 2010-02-24, 20:51
  2. how to scroll container to show all controls in it?
    By raj8nokiaforum in forum Symbian
    Replies: 0
    Last Post: 2009-08-19, 13:48
  3. Container with scroll problem??
    By sunil304047 in forum Symbian
    Replies: 5
    Last Post: 2009-06-23, 13:07
  4. Create scroll bar on container
    By vineet.jain in forum Symbian User Interface
    Replies: 1
    Last Post: 2009-04-25, 09:28
  5. container with scroll
    By younker in forum Symbian
    Replies: 4
    Last Post: 2007-06-06, 09:20

Posting Permissions

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