width: parent.width;
height: updateBarArticles.visible? parent.height-updateBarArticles.height : parent.height;
visible: false; z:8
- //onCurrentIndexChanged: photosGridView.positionViewAtIndex(currentIndex, GridView.Contain)
+ onCurrentIndexChanged: articlesView.positionViewAtIndex(currentIndex, ListView.Contain)
highlightRangeMode: ListView.StrictlyEnforceRange; snapMode: ListView.SnapOneItem
//cacheBuffer: 5;
onMovementStarted: articleViewer.vertPanningEnabled=false;
font.pointSize: settings.articleListingTextSize
}
MouseArea { anchors.fill: listItem;
- onClicked: { articleView.positionViewAtIndex(index, ListView.Contain); articleView.visible = true; }
+ onClicked: { articleView.currentIndex = index; articleView.visible = true; }
}
}