Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Posts: 151
Registered: ‎10-30-2010
My Device: Priv
My Carrier: T-Mobile

Point Vs. Pixel Units

[ Edited ]

Looking at the ui guidelines relating to typography (https://developer.blackberry.com/devzone/design/typography.html), I've tried keeping my app consistent with that. The issue is that using the pt unit shows the text to be extremely small on the dev alpha. When I use the comparable px units (i.e. 54px vs 11pt), the text looks just right. That's fine and all but it's bothering me that I can't get the pt units to work as I'd imagine it should.


Someone suggested the post relating to setting up the viewports here http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/KB-How-to-set-up-the-viewport-fo...


It seems like it's on the right track, but even after following all of that, some factors relating to pixel density were fixed, but the same issue with font sizes still exists. How can I use the recommended font sizes in points to be the ideal size? Again, using pixels resolves it, but I want to make sure I'm not doing something incorrectly.




Update: The issue was resolved thanks to anzor_b