1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    20
    Vote Rating
    0
    mjay76 is on a distinguished road

      0  

    Default Unanswered: How to ad a wrapper around a list group

    Unanswered: How to ad a wrapper around a list group


    Hello,

    i have a grouped list. Now i want to float the list-items within a group, so the items are abreast each other - as one row. But the groups have to be stacked, so every group is a row.

    When i inspect te markup i recognized, that there is no wrapper around a group, is it possible to ad one?

    regards

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,073
    Answers
    3500
    Vote Rating
    854
    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


    You can add some CSS to the x-list-item <div>s
    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.

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    20
    Vote Rating
    0
    mjay76 is on a distinguished road

      0  

    Default


    Hi and thank you for helping,

    i hoped, there is something i can do in Sencha-Code.

    But this way, what do you think about something like this:

    Code:
    .xlist-header-item:before {
        content:'<div id="groupRow">';
    }
    .xlist-footer-item:before {
        content:'</div>';
    }
    By the way: I'm trying to edit this in the sass-file, but when i compile it i get this error: "error sass/app.scss (Line 1: File to import not found or unreadable: sencha-touch/default/all." Do you know how to solve it?

    Regards

Thread Participants: 1

Tags for this Thread