旋转标签 [英] Rotating Labels

查看:101
本文介绍了旋转标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在IB中旋转可编辑标签 - 我知道您无法在Interface Builder中旋转。但是,有没有人有任何关于如何通过xcode执行此操作的信息?希望它不是太令人生畏,因为我是可可的新手:/任何帮助将不胜感激!

I have a need to rotate editable labels in IB - I'm aware that you cannot rotate in Interface Builder itself. However, does anyone have any info on how to do this via xcode? Hopefully it's not too daunting as I'm new to cocoa : / Any help would be appreciated!

Zach

推荐答案

参见 NSView 's - setBoundsRotation 方法。

See NSView's -setBoundsRotation method.

这篇关于旋转标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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