Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想创建一个基本上是 90 度旋转的按钮,因此它实际上是一个垂直对齐的按钮。使文本像书脊一样。
提前致谢。
您需要设置按钮的旋转属性...所以 mxml 将类似于:
<mx:Button id="myButton" label="CLICK ME" rotation="90" />
编辑
作为旁注,如果您希望文本在组件旋转后可见,您可能需要嵌入您正在使用的字体