xcode Interface Builder背景颜色首选项 [英] xcode Interface Builder background color preference

查看:206
本文介绍了xcode Interface Builder背景颜色首选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

看起来很奇怪,所以我很可能只是在偏好中错过了它,但是如何在Xcode中改变IB的实际背景颜色?不是任何元素,而是标准IB的实际炫目白色?对比度太大,当你缩小时,视图控制器几乎消失..

It seems odd, so i am likely just missing it in preferences, but how does one change the actual background color of IB in Xcode? Not any of the elements, but the actual blinding white of the standard IB? Too much contrast and when you zoom out, the view controllers almost disappear..

感谢任何提示..

推荐答案

我已经开始创建一个Xcode插件来改变故事板编辑器的背景颜色。您可以在 rpendleton / xcode-canvas-color 找到该来源。我已将其硬编码为浅灰色,如下面的屏幕截图所示,但这可以轻松更改。

I've gone ahead and created an Xcode plugin that changes the background color of the storyboard editor. You can find the source at rpendleton/xcode-canvas-color. I've hardcoded it to a light gray color, as shown in the screenshot below, but this can be changed easily.

(另外,我认为你不是'当我反编译Xcode时,后台视图的drawRect方法显式调用 [[NSColor whiteColor] set] 。)

(Also, I don't think you're missing a setting for it. When I decompiled Xcode, the drawRect method for the background view explicitly called [[NSColor whiteColor] set].)

这篇关于xcode Interface Builder背景颜色首选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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