1. #1
    Sencha Premium Member
    Join Date
    Jul 2009
    Posts
    116
    Vote Rating
    0
    JacobGu is on a distinguished road

      0  

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

    <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
    222
    Vote Rating
    7
    cnelissen is on a distinguished road

      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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,327
    Vote Rating
    849
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Worked for me!
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  4. #4
    Sencha Premium Member
    Join Date
    Jul 2009
    Posts
    116
    Vote Rating
    0
    JacobGu is on a distinguished road

      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

Thread Participants: 2