×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    4

    LWUIT TextArea Problem

    Hi all,

    I has some problems with LWUIT TextArea, not sure whether anyone experiences this. I don't seem to be able to properly predict the length of my text in TextArea.

    For example my text have 4 lines when display in the TextArea:

    - If i set my TextArea's row as 1, it will be a TextField (Mentioned in docs)

    - If i set my TextArea's row as 2 and GrowByContent as true, TextArea will contain around 8 lines of space, leaving a large gap.

    - If i set my TextArea's row as 2 and GrowByContent as false, TextArea will cut my text to only 2 lines and a scrollbar will appear.

    I don't wish to hard coded the row number as text length will change.

    In all cases, my column is 20. Is there is specific meaning for column. Such as 20 means 20 characters? Row is self-explanatory, but what is column? How do we calculate it?

    My font is not system font. It is Arial, size 11, plain. Will that affect GrowByContent length prediction?

    I read the developer guide, it doesn't have much on TextArea. Please advise. Thanks

    Zhiwei

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

    Re: LWUIT TextArea Problem

    This is the nokia forum, LWUIT has got its own forum... have you tried asking there first ?
    als, column seems as self-explanatory as row to me... if you have ever worked with tables (databases, html, php etc) it should be as well for you...

  3. #3
    Registered User
    Join Date
    Jun 2010
    Posts
    3

    Re: LWUIT TextArea Problem

    Hi guys, I'm facing same problem. Did you manage to solve?

  4. #4
    Registered User
    Join Date
    Aug 2005
    Posts
    3

    Re: LWUIT TextArea Problem

    I'm facing same problem too. No information avaible is found about it. Please if someone know about this topic it would be great to write a util reply.

    Best.
    Fernando Moreno Ruiz.

  5. #5
    Nokia Developer Expert
    Join Date
    May 2012
    Posts
    224

    Re: LWUIT TextArea Problem

    Hi Fernando.Moreno ,

    if you are looking to develop LWUIT application for S40, there is a Nokia implementation of LWUIT for S40 available here https://projects.developer.nokia.com..._for_Series_40

    you can try and see the behavior in S40 version of LWUIT. if you still get the same behavior then file a ticket here https://projects.developer.nokia.com...order=priority

    My font is not system font. It is Arial, size 11, plain. Will that affect GrowByContent length prediction?
    yes, font effects the length of the content.

Similar Threads

  1. STLPort namespace issue
    By yickhong in forum Open C/C++
    Replies: 0
    Last Post: 2009-04-09, 08:54
  2. SyncML link problem
    By samuel_ in forum Symbian
    Replies: 4
    Last Post: 2009-03-27, 08:02
  3. Problem with eglSwapBuffers and heap corruption
    By greatape in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-05-24, 03:35
  4. netcards - Problem with opening adapter
    By kernj in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-01-10, 08:56
  5. Problem: S60 SDK for CW in PC with .NET
    By anttij in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-02-28, 11:36

Posting Permissions

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