Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change navigator font size on Xcode

Is there any way to change the font size of the navigator panel in xcode? I've managed to change the font size in the edit window with preference->font & color, but that does not change the font size of the navigator.

like image 810
Fred F Avatar asked Jan 22 '16 04:01

Fred F


People also ask

How do I change font size in Xcode?

Press xcode->preferences. select fonts and colors. select ANY font in the list and press cmd+a (select all fonts) select font size for all editor fonts at the bottom of the window.

What is the font used in Xcode?

SF Mono. This monospaced variant of San Francisco enables alignment between rows and columns of text, and is used in coding environments like Xcode.

How do I set font size in Swift?

To change the font or the size of a UILabel in a Storyboard or . XIB file, open it in the interface builder. Select the label and then open up the Attribute Inspector (CMD + Option + 5). Select the button on the font box and then you can change your text size or font.


1 Answers

Solution after 2020

Finally with Xcode 12

After the release of the Xcode 12 now we're able to change the Navigator Font Size easily.

What’s New in Xcode 12

Xcode 12 includes Swift 5.3 and SDKs for iOS 14, iPadOS 14, tvOS 14, watchOS 7, and macOS Big Sur ...

Refined user interface for macOS Big Sur

  • Document tabs open any type of document, including logs, asset catalogs, and UI files, in a lightweight editor tab

  • Toolbar, icons, and sidebar designs match the beautiful new aesthetic of macOS Big Sur

  • Navigator fonts track the size of the system setting or can be manually set to a custom size

  • Organizer is completely redesigned and reports new app metrics, such as hitches in animation and scrolling

How

  • Open Xcode's preferences
  • Find the General Tab
  • Find the new Navigator Size

Its default value is matched the system's Resolution. (check my early answer).

Now you can also choose Small, Medium, or Large.

enter image description here

No more getting blind while coding! ;)

How to change system system's Resolution on macOS?

Solution before 2020 - AKA My Early Answer

Only way to change Resolution is changing system preferences for now. System preferences > Displays > Change resolution option from "Default for display" to "Scaled" and choose as you wish.

enter image description here

After Xcode 7 and the Alcatraz

Please note that plugins are no longer supported since Xcode 8. Alcatraz is available for Xcode 7 only

like image 100
mgyky Avatar answered Nov 11 '22 23:11

mgyky