<div dir="ltr"><div style>Hi everyone, I found this snippet in the Qt Devdays Beiing document(p16), I want to do something similar; Having a SilicaListView in a Column which in return is in a SilicaFlickable. </div><div style>
<br></div><div>SilicaFlickable {</div><div>    PullDownMenu { ... }</div><div>    Column {</div><div>        SlideshowView {</div><div>            model: monthModel</div><div>            delegate: DateGrid { ... }</div><div>
            ...</div><div>        }</div><div>        SilicaListView {</div><div>            model: agendaModel</div><div>            delegate: EventItem { ... }</div><div>            ...</div><div>        }</div><div>    }  </div>
<div>}</div><div><br></div><div style>The problem is, that in Column top and bottom anchor doesn't work, my list items show up on the  top of the page stacked on top of each other (pesumably, because just one item is visible). If I move my SilicaListView outside Column then it kind of works, provided I anchor top to column.bottom and bottom to parent.bottom(though I get a binding loop with flick.contentHeight). The thing is I don't want SilicaListView to be interactive I want only SilicaFlickable to be scrollable and I want it to scroll to the bottom of listview.</div>
<div style>   If I needed to know listview's contentHeight, provided top and bottom aren't anchored then listview.height or listview.contentHeight won't give the right answer, am I correct? Is the correct way to get contentHeight:</div>
<div style>   cHeight = children.height + spacing*count </div><div style>?</div><div style><br></div><div style><br></div><div style>SilicaFlickable {</div><div style>    id: flick</div><div style>    ...</div><div style>
    Column {</div><div style>        id: column</div><div style>        ...</div><div style>        SilicaListView {</div><div style>            id: listview</div><div style>            spacing: 10</div><div style>            interactive: false</div>
<div style>            ...</div><div style>        }</div><div style>    }</div><div style>}</div><div style><br></div><div style>Any help would be much appreciated,</div><div style>Thanks in advance</div><div style>Kris</div>
</div>