×

Discussion Board

Results 1 to 2 of 2

Hybrid View

  1. #1
    Registered User
    Join Date
    Jul 2012
    Location
    India
    Posts
    103

    can we apply html css to LWUIT Text Area

    Hii
    i have used TextArea,but i am not able to reduce the font, here my code: TextArea big = new TextArea(detailNews.getDescription());

    Font createSystemFont = Font.createSystemFont(Font.FACE_SYSTEM, Font.STYLE_PLAIN, Font.SIZE_SMALL);
    big.getStyle().setFont(createSystemFont);
    big.setEditable(false);,

    How can i reduce Font?

    i want to apply html css to LWUIT Text Area to reduce font of my Text,can we do that?

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

    Re: can we apply html css to LWUIT Text Area

    see the Font example https://projects.developer.nokia.com.../FontDemo.java

    LWUIT text area doesn't support all CSS2 tags or attributs, but it supports WCSS (subset of CSS2 for wireless)

    see LWUIT TextArea to display HTML component in LWUIT HTML demo https://projects.developer.nokia.com.../HTMLDemo.java

Similar Threads

  1. LWUIT HTML Component
    By ali30 in forum Mobile Java General
    Replies: 2
    Last Post: 2011-11-09, 20:01
  2. How to apply listener to LWUIT table
    By rajan701v in forum Mobile Java General
    Replies: 1
    Last Post: 2011-06-28, 14:15
  3. How to create text area field or grawing text area
    By rohit.shah in forum Symbian User Interface
    Replies: 3
    Last Post: 2010-10-02, 11:16
  4. Replies: 2
    Last Post: 2010-09-28, 07:41
  5. HTML controls for symbian - text area and characters counter
    By the_king2008 in forum Symbian User Interface
    Replies: 4
    Last Post: 2009-10-14, 08:46

Posting Permissions

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