Welcome!

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

Reply
New Contributor
cottrell
Posts: 3
Registered: ‎01-03-2012
My Device: Playbook
My Carrier: ______

BB10 1em = ? px

[ Edited ]

For BB10 what does 1em equal in px? Because it seems too large, because in my app to make the fonts and other containers look a reasonable size I am having to set the root em to be 75% of that to cascade through my app. Also ripple is setting the em for bb10 container incorrectly, or better yet BB10 should be using ripple em size. 

 

Cheers

Rylan

 

 

Please use plain text.
Developer
TheFlowFX
Posts: 166
Registered: ‎02-15-2012
My Device: Playbook 16GB
My Carrier: Bags are useful

Re: BB10 1em = ? px

[ Edited ]

1em is 16px

 

Source:

PXTOEM

If any post helps you please click the Like Button below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!

Please use plain text.
New Contributor
cottrell
Posts: 3
Registered: ‎01-03-2012
My Device: Playbook
My Carrier: ______

Re: BB10 1em = ? px

em values are dynamic, the standard that browsers are using are using for the root em is 16px, however BB10 root em is a different value which makes sense because of pixel density and screen resolution. 

 

Please use plain text.