@@ -70,15 +70,17 @@ PreviewWidget {
7070 left: parent.left
7171 right: parent.right
7272 }
73− implicitHeight: rating.height
73+ implicitHeight: ratingLabel.height + rating.height
7474 visible: widgetData["visible"] !== "review"
7575
7676 Label {
77+ id: ratingLabel
7778 objectName: "ratingLabel"
7879 anchors {
79− verticalCenter: parent.verticalCenter
8080 left: parent.left
81+ right: parent.right
8182 }
83+ fontSize: "large"
8284 color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
8385 opacity: .8
8486 text: widgetData["rating-label"] || i18n.tr("Rate this")
@@ -88,8 +90,8 @@ PreviewWidget {
8890 id: rating
8991 objectName: "rating"
9092 anchors {
91− verticalCenter: parent.verticalCenter
92− right: parent.right
93+ top: ratingLabel.bottom
94+ left: parent.left
9395 }
9496 size: 5
9597 onValueChanged: {
@@ -103,7 +105,7 @@ PreviewWidget {
103105
104106 Item {
105107 id: reviewContainer
106− implicitHeight: reviewLabel.implicitHeight + reviewSubmitContainer.implicitHeight + anchors.topMargin
108+ implicitHeight: reviewSubmitContainer.implicitHeight + anchors.topMargin
107109
108110 readonly property real innerMargin: units.gu(1)
109111
@@ -126,19 +128,6 @@ PreviewWidget {
126128 }
127129 }
128130
129− Label {
130− objectName: "reviewLabel"
131− id: reviewLabel
132− anchors {
133− top: parent.top
134− left: parent.left
135− right: parent.right
136− }
137− color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
138− opacity: .8
139− text: widgetData["review-label"] || i18n.tr("Add a review")
140− }
141−
142131 Item {
143132 id: reviewSubmitContainer
144133 anchors {
@@ -164,6 +153,7 @@ PreviewWidget {
164153 right: submitButton.left
165154 rightMargin: reviewContainer.innerMargin
166155 }
156+ placeholderText: widgetData["review-label"] || i18n.tr("Add a review")
167157 }
168158
169159 Button {