Did you set applicationDPI to 160 at the application level? Something like:
<s:Application ...... applicationDPI=160 > .. your app code Maurice -----Message d'origine----- De : skvsarathyourfriend [mailto:[email protected]] Envoyé : jeudi 17 avril 2014 08:57 À : [email protected] Objet : Re: Auto changing the gaps,font size based on application DPI in Flexmobile I am using CSS for changing font size dynamically based on DPI of the screen. @media (application-dpi: 160) { s|RichEditableText { fontSize: 10; } s|Label { fontSize: 25; } } @media (application-dpi: 240) { s|RichEditableText { fontSize: 30; } s|Label { fontSize: 30; } } @media (application-dpi: 320) { s|RichEditableText { fontSize: 20 } s|Label { fontSize: 40; } } But for the different DPI mobiles,the fontsize not changing.For 160 DPI only its affecting. Thanks. -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Auto-changing-the-gaps-font-size-based-on-application-DPI-in-Flexmobile-tp6144p6158.html Sent from the Apache Flex Users mailing list archive at Nabble.com.
