storyboard positioning text below image inside a button

前端 未结 8 1105
野趣味
野趣味 2021-02-01 13:13

I am able to set the image and text for button. But it is aligned horizontally. I want the image and text to be aligned vertically inside the button. i.e., text below the image<

8条回答
  •  孤城傲影
    2021-02-01 13:47

    You can easily and visually achieve the alignment using the Edge property of the Button from Property Window(Attribute Inspector) you can change the inset values of Title, and Image as per your need, see image below

    Hope it helps.

    Cheers.

提交回复
热议问题