@@ -64,22 +64,16 @@ PreviewWidget {
6464 triggered(root.widgetId, "rated", data);
6565 }
6666
67− Item {
67+ Column {
6868 id: ratingLabelAndWidgetContainer
69− anchors {
70− left: parent.left
71− right: parent.right
72− }
73− implicitHeight: ratingLabel.height + rating.height
69+ anchors { left: parent.left; right: parent.right; }
70+ spacing: units.gu(0.5)
7471 visible: widgetData["visible"] !== "review"
7572
7673 Label {
7774 id: ratingLabel
7875 objectName: "ratingLabel"
79− anchors {
80− left: parent.left
81− right: parent.right
82− }
76+ anchors { left: parent.left; right: parent.right; }
8377 fontSize: "large"
8478 color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
8579 opacity: .8
@@ -89,17 +83,15 @@ PreviewWidget {
8983 Rating {
9084 id: rating
9185 objectName: "rating"
92− anchors {
93− top: ratingLabel.bottom
94− left: parent.left
95− }
86+ anchors.left: parent.left
9687 size: 5
88+ height: units.gu(4)
9789 onValueChanged: {
9890 if (widgetData["visible"] === "rating") root.submit();
9991 }
10092
101− property var urlIconEmpty: widgetData["rating-icon-empty"]
102− property var urlIconFull: widgetData["rating-icon-full"]
93+ property var urlIconEmpty: widgetData["rating-icon-empty"] || "image://theme/non-starred"
94+ property var urlIconFull: widgetData["rating-icon-full"] || "image://theme/starred"
10395 }
10496 }
10597
@@ -131,10 +123,7 @@ PreviewWidget {
131123 Item {
132124 id: reviewSubmitContainer
133125 anchors {
134− top: reviewLabel.bottom
135− left: parent.left
136− right: parent.right
137− bottom: parent.bottom
126+ fill: parent
138127 topMargin: reviewContainer.innerMargin
139128 }
140129 implicitHeight: reviewTextArea.implicitHeight + anchors.topMargin