6 width: window.width; height: window.height
8 function getNewsModelItem(prop)
10 if( typeof currentSource.listModels[componentDepth-1] != "undefined" )
11 if( typeof currentSource.listModels[componentDepth-1][prop] != "undefined" )
12 return currentSource.listModels[componentDepth-1][prop]
17 property string commentURL: getNewsModelItem('commentURL')
18 property string title: getNewsModelItem('title')
19 property string image: getNewsModelItem('image')
27 width: newsCommentsRect.width - 20
28 // height: newsCommentsRect.height
40 anchors.verticalCenter: titleRow.verticalCenter
41 text: title; width: column.width - detailImage.width - 10; wrapMode: Text.WordWrap
42 font { bold: true; family: "Helvetica"; pointSize: 16 }
47 id: newsCommentsWebView
50 preferredWidth: column.width
51 // preferredHeight: parent.height - titleRow.height
57 anchors.fill: newsCommentsRect
60 ScrollBar { scrollArea: itemListView; height: itemListView.height; width: 8; anchors.right: itemListView.right }