<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:local="*" fontSize="12">
 <mx:Script>
  <![CDATA[
   [Bindable]
   private var str:String = "第\n一\n项";
  ]]>
 </mx:Script>
 <mx:Label x="112" y="158" text="{str}" height="84"/> 
 <mx:Label x="177" y="158" text="{'第\n一\n项'}" height="84"/> 
</mx:Application>

这种方式能解决flex label不能竖排的问题。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-27
  • 2021-08-17
  • 2021-10-24
  • 2021-12-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-16
  • 2022-12-23
  • 2021-08-13
  • 2022-02-08
  • 2021-08-21
  • 2021-09-19
相关资源
相似解决方案