UIButton设置 textAlignment 属性的方法
2015-08-20 16:52
337 查看
btn.contentHorizontalAlignment =
UIControlContentHorizontalAlignmentLeft;
btn.contentVerticalAlignment = UIControlContentVerticalAlignmentLeft;
UIControlContentHorizontalAlignmentLeft;
btn.contentVerticalAlignment = UIControlContentVerticalAlignmentLeft;
相关文章推荐
- KVC的妙用之UIAlertController的UIAlertAction外观改变
- UIImage的发掘
- 【IOS】UITableView样式的自定义
- UItableView中编辑,删除,移动学习笔记
- Windows Message Queue--hdu1509
- buildPyramid函数
- UISegmentedControl
- 申请中断request_irq()与request_threaded_irq()之间的区别?
- iOS开发-Day28-UI自定义控件&消息传递&事件传递机制
- require.js
- A potentially dangerous Request.Form value was detected from the client 的处理
- 退出循环:break和continue
- ios PageControl and UIScrollView
- zclip结合easyui实现复制datagrid每行特定单元格数据的功能
- AsyncQueryHandler
- uva 10706 Number Sequence
- Android更新UI的方法
- UIStepper使用的具体解释的控制
- easyui的tab切换问题,第一个总显示最后一个
- iOS开发-Day27UISwitch&UISlider&UIStepper&UISegmentedControl