You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by leokan23 <le...@best-web.gr> on 2017/01/13 15:19:31 UTC

Use dp instead of pixels in Flex mobile

Is there a way to used dp (density-independent pixel) instead of pixels in
fonts?

I currently use a css class on all my mobile projects and use font-size: to
change the font size (ex. font-size:35) 

I know dp is supposed to work since 4.12.1 [1] but never understood how to
do it.


[1]
https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+4.12.1+Release+Notes



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Use-dp-instead-of-pixels-in-Flex-mobile-tp14487.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.