diff options
author | Alessandro Portale <alessandro.portale@nokia.com> | 2010-09-07 18:43:00 (GMT) |
---|---|---|
committer | Alessandro Portale <alessandro.portale@nokia.com> | 2010-09-07 18:43:00 (GMT) |
commit | c997a4ff5d83c8f41f5ed7d8c44dfbe61c67b486 (patch) | |
tree | f5bbd519d35dfce8cc400be0a83f87fa138d692f /demos/declarative/flickr/mobile/ImageDetails.qml | |
parent | a127b7221ebdcb119e9102aea1905c99ddd6d41c (diff) | |
download | Qt-c997a4ff5d83c8f41f5ed7d8c44dfbe61c67b486.zip Qt-c997a4ff5d83c8f41f5ed7d8c44dfbe61c67b486.tar.gz Qt-c997a4ff5d83c8f41f5ed7d8c44dfbe61c67b486.tar.bz2 |
Fix text size issues for high ppi displays
Many layout sizes in flickr are specified by the artwork sizes.
The heights and widths are defined in static pixel sizes.
Therefore the text has to obey the size restrictions, and should
not overlap.
This patch sets the font sizes in pixels. Otherwise the default
font sizes in points may be too big on high ppi displays.
(XM5800 has ~230 ppi)
Diffstat (limited to 'demos/declarative/flickr/mobile/ImageDetails.qml')
-rw-r--r-- | demos/declarative/flickr/mobile/ImageDetails.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/declarative/flickr/mobile/ImageDetails.qml b/demos/declarative/flickr/mobile/ImageDetails.qml index 7441ecc..6408fc6 100644 --- a/demos/declarative/flickr/mobile/ImageDetails.qml +++ b/demos/declarative/flickr/mobile/ImageDetails.qml @@ -96,7 +96,7 @@ Flipable { Rectangle { anchors.fill: parent; color: "black"; opacity: 0.4 } Common.Progress { - anchors.centerIn: parent; width: 200; height: 18 + anchors.centerIn: parent; width: 200; height: 22 progress: bigImage.progress; visible: bigImage.status != Image.Ready } |