swift #007 practice-加入Label顯示文字

專注重要的事,設計你想要的人生

Order your present, plan your future. — Ryder carroll

step 1. Objects Library 點選 +

step 2.尋找Label

step 3.將元件Label拖曳到畫布上

step 4. 元件條件設定,輸入欲呈現文字

step 5. 如果不止一行文字,使用option + enter,新增一行

5.1 此時畫面中,僅顯示一行,於Lines輸入2,即會顯示兩行,若不想有行數限定,則輸入0

5.2 Editor > Size to Fit Content,可以調整成最適大小

step 6. 調整文字大小及字型

step 7. 完成

--

--