Major changes
[quicknewsreader] / qml / QuickNewsReader / content / view / NewsComments.qml
index 3da859c..8b136d6 100644 (file)
@@ -23,8 +23,8 @@ Item {
 
         Column {
             id: column
-            x: 0; y: 0
-            width: newsCommentsRect.width
+            x: 10; y: 10
+            width: newsCommentsRect.width - 20
 //            height: newsCommentsRect.height
 
             Row {
@@ -37,7 +37,7 @@ Item {
                 }
 
                 Text {
-                    anchors.verticalCenter: detailImage.verticalCenter
+                    anchors.verticalCenter: titleRow.verticalCenter
                     text: title; width: column.width - detailImage.width - 10; wrapMode: Text.WordWrap
                     font { bold: true; family: "Helvetica"; pointSize: 16 }
                 }
@@ -45,9 +45,9 @@ Item {
 
             WebView {
                 id: newsCommentsWebView
-                width: newsCommentsRect.width
+                width: column.width
                 url: commentURL
-                preferredWidth: window.width
+                preferredWidth: column.width
 //                preferredHeight: parent.height - titleRow.height
             }
         }