facebook

Adjusting font sizes

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #342406 Reply

    jeremy450
    Member

    Hi there

    Is there a way to make the font adjust to the screen size.

    so if app run on a iphone its one size and when its ran on a ipad it adjusts the font size to fit the area its put in

    Regards
    Jeremy

    #342411 Reply

    Paul_paul
    Participant

    I don’t think it is possible to auto adjust the text size. You might need to make 2 different screens, one for iPhone and one for iPad. This topic may help you.

    http://www.genuitec.com/support-genuitec/viewtopic.php?f=8&t=5254

    #342412 Reply

    Brandon
    Member

    There are three ways to do this (maybe more really).

    You can use the above mentioned post where thinchip has the sample for a new screen.
    You can use the same screen check and adjust the css properties of the font.
    or three, which is the best,however most involvedis to use the cordova api to detect which device it is installed on. This will allow you do to very specific designs for any device.
    http://docs.phonegap.com/en/3.0.0/cordova_device_device.md.html#device.name

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Adjusting font sizes

You must be logged in to post in the forum log in