Results 1 to 4 of 4

Thread: <ul><li> doesn't render in Sencha Touch panel?

  1. #1
    Sencha Premium Member
    Join Date
    Jul 2009
    Posts
    138
    Vote Rating
    4
      0  

    Default <ul><li> doesn't render in Sencha Touch panel?

    The following:
    var appPanel = new Ext.Panel({
    fullscreen: true,
    html: '<ul><li>1</li><li>2</li><li>3</li></ul>'
    });

    renders like this:
    1
    2
    3
    i.e., without bullets.

    Is this a bug or a feature?

  2. #2
    Ext JS Premium Member cnelissen's Avatar
    Join Date
    Sep 2007
    Location
    California
    Posts
    226
    Vote Rating
    9
      0  

    Default

    Try adding styleHtmlContent: true to your panel config. By default no formatting is done since the stylesheet is doing a css reset.
    - Clint Nelissen

  3. #3
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    Worked for me!
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  4. #4
    Sencha Premium Member
    Join Date
    Jul 2009
    Posts
    138
    Vote Rating
    4
      0  

    Default

    Yep, that did it! Thanks a lot!

Similar Threads

  1. Ext JS and Sencha Touch!
    By mcamer in forum Sencha Touch 1.x: Discussion
    Replies: 8
    Last Post: 1 Dec 2010, 10:19 AM
  2. Sencha Touch on iPhone v1 / iPod touch v1 ?
    By palnap in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 28 Oct 2010, 5:30 PM
  3. Split Panel not showing up? Sencha Touch
    By vijayrao in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 18 Aug 2010, 4:19 PM
  4. Features of Sencha Touch
    By metalsiren in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 21 Jul 2010, 8:02 AM

Posting Permissions

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