I know how to change font size in Xcode (REF) and I am using Xcode 8.3.2. There are options like 11/12/13/14/18... in the font window, but without 16. How can I make it?
Edit:
I tried to type 16 in the size text field directly, but won't help.
As Larme mentioned, the font panel has a text field for you to enter the font size. If entering the font size doesn't change the font size, there's a slider in the font panel. Use the slider to change the font size to sizes that don't appear in the font panel list, such as 15 and 16 points.
Related
When changing the font to bold in the device some of the labels are overlapping and the text will be bold. also, when we change font size it also affects the Ui.
If I hover the mouse over a .NET function in a C# file I get a popup window showing some documentation:
I'd like to increase the font size of this text.
There are many items in the Fonts and Colors section of the options:
Which of these can be used to increase this font size?
(This is one thing I like about vscode over VS; increasing the font size there with ctrl-+ applies to pretty much all text in the application. :-))
I want to have my buttons changes font size, when user change orientation.
Is it possible to do it in storyboard?
Thanks.
Unless you are targeting an old iOS version, don't use the word "orientation". They are called "size classes" now. You should work with them instead of orientations.
In the storyboard's property inspector, there is a little "+" next to the font property:
If you click that, you can add a new value for font when it is changed to a specific size class:
Here I made the font size bigger if it is horizontally regular:
IMO, you shouldn't change the font size depending on the size class and/or orientation. There might be something wrong with your design...
It seems to me, that in iOS 8 auto shrink isn't working. I try to set minimum font scale / minimum font size, but the text after loading remains static. When I run an app on iOS 7 everything is OK.
With plain text i cannot confirm that problem in iOS 8 but with attributed text i saw the same issue. A workaround was to set the font name and size explicitly programmatically for the label text (not only in storyboard attributes inspector). That way the attributed text size changed accordingly.
I know the font size in xcode can be set in Preference -> Fonts & Colors. But, even I set THE SAME font size for editor area and console area, the two areas show text with visually different size. The size 15 in console area is a little bigger than size 15 in editor area, but it's smaller than size 15.1. Seems the two area shows text with completely different mechanism (or engine?).
I try several other editors & browsers that can show mono fonts, find that Terminal and Sublime Text2 shows the same size as xcode editor area, while Firefox and svnX review area shows the same size as xcode console area. My question is:
How to make the editor area show text with exactly the same size as the console area? I like the console area font size.
Under Preferences > Fonts & Colors, you need to click the Console label (circled in the screenshot below).
I usually just select all the options listed and give them the same font size.