如何在Xcode编辑器中增加字体大小? [英] How to increase font size in the Xcode editor?

查看:135
本文介绍了如何在Xcode编辑器中增加字体大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Xcode中增加字体大小是很痛苦的.

To increase font-size in Xcode is a pain.

推荐答案

更新! -看到Xcode 9进行救援! 现在,您可以使用cmd +通过Xcode 9增加字体. 苹果花了5个主要发行版才让您获得它!但是迟到总比不到好.

Update! - Behold Xcode 9 to the rescue! Now you can use cmd + to increase the fonts with Xcode 9. It took 5 Major releases for you to get it, Apple! But better late than never.

弄清楚了-但是它不是很直观.

figured it out - however it was not very intuitive.

首先是一些痛点

  1. 当您尝试直接使用edit-> format-> font更改字体大小时,什么也没有发生! -不好的用户体验...而且,当您告诉用户他们使用的是默认主题或系统拥有的"主题并且无法更改主题时,为什么还要打哑巴呢? -错误的设计和更糟糕的UX ...为什么要保留此选项(Cmd t),如果您不希望用户更改此字体,这是在大多数性能良好的Mac应用程序中增加字体大小的最标准方法.方式?

  1. When You try to change the font size directly using edit -> format -> font, nothing happens! - Not a good UX ... moreover why play dumb when you can tell user that they are using default or "System-owned" theme and they cannot change it? - Bad Design and more bad UX ... Why keep this option (Cmd t) alive, which by the way is most standard way to increase font size across most well behaved mac apps, if you do not want user to change the font this way?

在Xcode首选项中,当您尝试通过单击字体和颜色"来更改字体大小时,即XCode弹出一个对话框,说明需要执行的操作.如果苹果非常担心用户弄乱默认设置,还要做一个重复的操作然后更改字体和颜色,而不是给出一个还原为默认值"的按钮,这是很多工作!

In Xcode preferences, when you try to change the font size by clicking on "fonts and colors", thats when XCode gives a pop-up saying what needs to be done. Also making a duplicate and then changing the fonts and colors is a lot of work rather than giving a button that says "Restore to Defaults" if Apple is so worried about the user messing up the default settings!

解决方案是-您需要复制主题,然后修改刚刚制作的副本并应用该副本-phe!

The solution is that - you need to duplicate the theme and then modify the copy you just made and apply that copy - phew!

这篇关于如何在Xcode编辑器中增加字体大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆