1. #1
    Sencha User
    Join Date
    Apr 2013
    Posts
    34
    Answers
    2
    Vote Rating
    0
    jjaskols is on a distinguished road

      0  

    Default Unanswered: Setting layout on ListItem creates wrapper div that does not propagate events

    Unanswered: Setting layout on ListItem creates wrapper div that does not propagate events


    Hello,

    I have a ListItem with various inner components (an image, two text areas and a button). I am setting the layout through layout: 'hbox' in the config object of the component.ListItem.

    Setting this layout creates a wrapper div, which aligns all the components.
    The same div is not a x-list-item-body and therefore does not create itemtap events etc..

    I was able to get the inner components to act like list-item-bodies through setting the cls: 'x-list-item-body' in their respective configs.

    There are however, remaining areas, which belong to the hbox wrapper div, that do not propagate the events.

    Am I abusing the layout system at this point, or is this possibly an error?

  2. #2
    Sencha User
    Join Date
    Apr 2013
    Posts
    34
    Answers
    2
    Vote Rating
    0
    jjaskols is on a distinguished road

      0  

    Default


    Furthermore, the elements in the ListItem are not subjected to window resizing. Did I miss some config setting for that, or does it not work?