Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to increase font size in xcode

mrab54mrab54 Posts: 4New Users
edited December 2010 in iOS SDK Development
Can somebody please tell me how to increase the font size in xcode? It is at size 10 by default, which is absolutely ridiculously small. However, not as ridiculous as how hard it seems to be to change the font size. When you go to change the font in the preferences, first it asks to to make a copy of a font template so you don't mess up what already is a mess. Then, it looks as though you would have to change the font for every category of text which is around 30 or so. But the great thing is, it wont even let you change the font size! I can't even google an answer in 15 minutes. Not only that, it took me another 5 just to find a forum that actually had more than 100 posts total. My eyes are now burning, my head aching, and I am in serious need of a beer, maybe a six pack, to calm me down.

I wouldn't be surprised if this lengthy post doesn't go through due to some http error, leaving me to write it all over again. Thank God the copy button works, I think.

Thanks.
Post edited by mrab54 on
·

Replies

  • Boy_NamDinhBoy_NamDinh Posts: 27Registered Users
    edited March 2009
    I use this to change font size
    [PHP]self.myLabel.font = [UIFont systemFontOfSize:12];[/PHP]
    Hope this help.
    ·
  • mrab54mrab54 Posts: 4New Users
    edited March 2009
    I use this to change font size
    [PHP]self.myLabel.font = [UIFont systemFontOfSize:12];[/PHP]
    Hope this help.

    Thanks for the reply. Sorry for not making myself all too clear in my rant. I'm wondering about changing the font inside the xcode ide itself. I find it hard to code when I have to squint to see what I'm doing.
    ·
  • Boy_NamDinhBoy_NamDinh Posts: 27Registered Users
    edited March 2009
    Have you try using zoom on MAC. Go to system preferences -> Universal Access
    ·
  • BuckyBucky Posts: 356Registered Users
    edited March 2009
    There's an option in the preferences somewhere. When I get back to my mac, I'll give a better idea of where to find it
    ·
  • KalimbaKalimba ¿La Islas Hermosas?Posts: 2,181iPhone Dev SDK Supporter, Registered Users
    edited March 2009
    Preferences -> Fonts & Colors?
    <a href="http://bit.ly/gAmufK" target="_blank">icon-r-64.png</a> ~~ Word Flurry ~~ <a href="http://itunes.apple.com/us/app/word-flurry/id399660201?mt=8" target="_blank">App Store</a> / <a href="http://bit.ly/bJiK99
    ·
  • BuckyBucky Posts: 356Registered Users
    edited March 2009
    That's the one! I was at work at the time, so I couldn't check
    ·
  • zer0zer0 Posts: 12Registered Users
    edited March 2009
    mrab54 i have the same problem getting in to Xcode liking the IDE it self but then i go to customize the colors and fonts and when i change the font in the preference window, it doesnt update the selected font for some reason:mad: in Xcode 3.1.1 on OSX 10.5.6

    would love to know how you fixed this!

    ...:DZer0...
    ·
  • mrab54mrab54 Posts: 4New Users
    edited March 2009
    Well I finally came back to it, went into preferences->fonts, changed the font size and it just worked. I did nothing different than from before, so I must have just gotten myself into a bad state where the changes were not getting applied. Thanks for the responses.
    ·
  • zer0zer0 Posts: 12Registered Users
    edited March 2009
    Mine still doesn't work let me make sure that i am doing it correctly

    Open Xcode
    Open preferences
    select fonts & colors
    select lets say comments out of the list double click the font name
    then select the new font size lets say 12 (from 10)
    then no thing happens
    ·
  • mrab54mrab54 Posts: 4New Users
    edited March 2009
    zer0 wrote: »
    Mine still doesn't work let me make sure that i am doing it correctly

    Open Xcode
    Open preferences
    select fonts & colors
    select lets say comments out of the list double click the font name
    then select the new font size lets say 12 (from 10)
    then no thing happens


    Lol, well yeah that's about what I tried forever and then suddenly it just worked... Something has got to be buggy with it but if there is some secret to it, that has got to be the worst user interface design ever.
    ·
  • GottaaGottaa Posts: 30Registered Users
    edited April 2009
    If you do something in Xcode which doesn't react as you would expect it to, I've learnt to just close and re-open XCode, 99% of the time that fixes things
    <a href="http://twitter.com/wrightfun" target="_blank">Twitter</a><br />
    <br />
    Developer of: <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=310752649&mt=8" target="_blank">Splitz</a>
    ·
  • aldcorn@live.comaldcorn@live.com Posts: 554Registered Users
    edited May 2010
    Xcode>> preferences>> Fonts & Colors TAB>> Choose the color THEME you like in the drop down list and then duplicate the theme. Call it what you want, say "SUNSET 14 font" or whatever.

    Now CHOOSE this new theme from the drop down box.
    Click on the:
    "plain text" line then go down to the "Other Preprocessor Macros" line and SHIFT click to highlight all of the lines that actually have a FONT TYPE AND SIZE.

    When you have all of these lines selected you can hit COMMAND T and then select the font type and size to what you want. You should see the changes.

    NOW make sure you press APPLY at the bottom of the Xcode Preferences window to save your new selection
    ·
  • Robert PaulsonRobert Paulson Posts: 492Registered Users
    edited May 2010
    Thanks a lot, aldcorn@live.com!
    <i>We are God’s middle children, according to Tyler Durden, with no special place in history and no special attention.</i><br />
    <br />
    Consider saying <i>thanks</i> by buying <a href="http://www.qego.com/thecolor.html" target="_blank">my app</a>. :]
    ·
  • onthegridonthegrid Posts: 1New Users
    edited December 2010
    Thanks, aldcorn!
    ·
  • pinkypinky Posts: 25Registered Users @
    Thank you! it made my day, since I had exactly the same problem.

    Now I have the problem with the line numbers that seem to be even smaller than 10pts. Do they think everybody is coding in 22" screens??
    ·
  • bishenmantribishenmantri Posts: 9New Users Noob
    1. Go to XCode > Preferences > Fonts & Color
    2. Double click on a font entry to get the Font inspector window
    3. Select all font entries with sizes you'd like to increase/decrease
    4. In the Font inspector window select the same font (e.g. All Fonts > Menlo > Regular > 14)

    Watch out because there's no undo!
    ·
Sign In or Register to comment.