on xenial help sign in
Use anchors instead of sizes.
246fa3aMichał Sawicz
Dash/Apps/AppReviews.qml+4−9
@@ -141,19 +141,17 @@ Column {
141 model: root.model
141 model: root.model
142
142
143 Column {
143 Column {
144− width: parent.width
144+ anchors { left: parent.left; right: parent.right }
145
145
146 Column {
146 Column {
147+ anchors { left: parent.left; right: parent.right }
147
148
148 Label {
149 Label {
150+ anchors { left: parent.left; right: parent.right }
149 text: modelData[0]
151 text: modelData[0]
150 fontSize: "medium"
152 fontSize: "medium"
151 color: "white"
153 color: "white"
152 opacity: .8
154 opacity: .8
153− anchors {
154− left: parent.left
155− right: parent.right
156− }
157 wrapMode: Text.WordWrap
155 wrapMode: Text.WordWrap
158 style: Text.Raised
156 style: Text.Raised
159 styleColor: "black"
157 styleColor: "black"
@@ -179,14 +177,11 @@ Column {
179 }
177 }
180
178
181 Label {
179 Label {
180+ anchors { left: parent.left; right: parent.right }
182 text: modelData[3]
181 text: modelData[3]
183 fontSize: "medium"
182 fontSize: "medium"
184 color: Theme.palette.selected.backgroundText
183 color: Theme.palette.selected.backgroundText
185 opacity: .6
184 opacity: .6
186− anchors {
187− left: parent.left
188− right: parent.right
189− }
190 wrapMode: Text.WordWrap
185 wrapMode: Text.WordWrap
191 style: Text.Raised
186 style: Text.Raised
192 styleColor: "black"
187 styleColor: "black"