From 031e4c1fcf2d95b9759d8b666775a8025b367832 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Fri, 17 Apr 2015 11:11:48 +0200 Subject: Calqlatr Demo: Adjust ListView delegate height based on font size MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To prevent the list tem text overflowing the delegate boundary. Task-number: QTBUG-45621 Change-Id: I46f35508ea49a2b435286de76dc9ab49620619a6 Reviewed-by: Venugopal Shivashankar Reviewed-by: Topi Reiniƶ --- examples/quick/demos/calqlatr/content/Display.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/quick/demos/calqlatr') diff --git a/examples/quick/demos/calqlatr/content/Display.qml b/examples/quick/demos/calqlatr/content/Display.qml index 119e99602f..cf93d878bb 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 -- cgit v1.2.3