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.