I want to design a custom button in Xamarin IOS to display both Text and Image. Please find the below image.
You can find the Text and down arrow symbol in the above image. the down arrow symbol should always display after the text. The button text is dynamic.
Can any one suggest me to solve this.
1条答案
按热度按时间uoifb46i1#
您想要使用
UIButton
的TitleEdgeInsets
和ImageEdgeInsets
属性来控制文字和影像的内缩开始位置:完整示例: