0
페이지에 다음과 같은 4 개의 라벨이 있습니다.라벨의 너비를 동적으로 변경하십시오.
<s:Label id="lblName" x="10" y="13" text="{data.name}"/>
<s:Label id="lblComputer" x="10" y="37.5" text="{data.computer}"/>
<s:Label id="lblModel" x="45" y="37.5" text="{data.model}"/>
<s:Label id="lblCPU" x="43" y="63" text="{data.cpu}"/>
I는 다음과 같이 할 레이아웃을 얻으려고 :
lblName
lblComputer lblModel이
lblCPU이
그것은 lblComputer 경우 작동 짧다. 이름이 있지만 문자가 많은 경우 lblComputer와 lblModel이 함께 실행되어 완전히 읽을 수 없습니다.
lblComputer가 실제로 길 경우 lblModel의 x 값을 lblComputer에 대해 "공간 확보"하도록 동적으로 변경하는 방법이 있습니까?
감사
완료! 감사! – SkyeBoniwell