summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2015-04-17 11:11:48 +0200
committerTopi Reiniƶ <topi.reinio@digia.com>2015-05-26 08:10:35 +0000
commit031e4c1fcf2d95b9759d8b666775a8025b367832 (patch)
tree79570f0c785a33daa67210e6272411491f2c39a5 /examples
parentdad48f0e9cca10528fcaab7ec7d08f678e81b1a9 (diff)
downloadqtdeclarative-031e4c1fcf2d95b9759d8b666775a8025b367832.tar.gz
qtdeclarative-031e4c1fcf2d95b9759d8b666775a8025b367832.tar.bz2
qtdeclarative-031e4c1fcf2d95b9759d8b666775a8025b367832.zip
Calqlatr Demo: Adjust ListView delegate height based on font size
To prevent the list tem text overflowing the delegate boundary. Task-number: QTBUG-45621 Change-Id: I46f35508ea49a2b435286de76dc9ab49620619a6 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com> Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/quick/demos/calqlatr/content/Display.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/demos/calqlatr/content/Display.qml b/examples/quick/demos/calqlatr/content/Display.qml
index 119e99602..cf93d878b 100644
--- a/examples/quick/demos/calqlatr/content/Display.qml
+++ b/examples/quick/demos/calqlatr/content/Display.qml
@@ -168,7 +168,7 @@ Item {
width: display.width
height: display.height - 50 - y
delegate: Item {
- height: 20
+ height: display.fontSize * 1.1
width: parent.width
Text {
id: operator