UIButton 字体颜色 粗体
来源:互联网 发布:centos安装pdo 编辑:程序博客网 时间:2024/06/10 01:52
UIButton * btn=[[UIButton alloc] initWithFrame:CGRectMake(5, 5,50,30)];
[btn setTitle:@"xxx" forState:UIControlStateNormal];btn.backgroundColor=YYColor(247, 247, 247);[btn setTitleColor:YYColor(234, 167, 39) forState:UIControlStateNormal];btn.font=[UIFont systemFontOfSize:15];
//粗体
[btn setFont :[ UIFont fontWithName : @”Helvetica-Bold” size : 15 ]];
[self.view addSubview:btn];
//边框线
btn.layer.borderWidth = 1;
btn.layer.borderColor = [[UIColor grayColor] CGColor];
0 0
- UIButton 字体颜色 粗体
- 设置UIButton字体颜色
- UIButton设置字体颜色
- UIButton 如何设置字体颜色
- 设置UIButton上字体的颜色
- UIButton按钮的背景图和字体颜色
- iOS UIButton字体的居中,颜色,大小
- IOS 设置UIButton上字体的颜色
- 设置UIButton的文字、字体、颜色等
- iOS修改UIButton setTitle字体颜色和调整字体位置
- iOS8下,如何将UIButton的字体颜色设置成系统自带的字体颜色?
- iOS9 UIButton设置字体颜色和字体的大小、字体的位置
- 设置UIButton的文字显示位置、字体的大小、字体的颜色
- 设置UIButton的文字显示位置、字体的大小、字体的颜色
- 设置UIButton的文字显示位置、字体的大小、字体的颜色
- IOS 字体的 NSString Font,以及 UIButton 设置字体的颜色 font 等。
- 设置UIButton的文字显示位置、字体的大小、字体的颜色
- 设置UIButton的文字显示位置、字体的大小、字体的颜色 .
- 设计模式六大原则
- 用matlab将三条曲线放在一张双坐标的图上
- Weblogic修改AdminServer端口
- HTML <input> autofocus 属性
- Activity源码简单解读
- UIButton 字体颜色 粗体
- linux 变量截取
- Android控件GridView之仿支付宝钱包首页带有分割线的GridView九宫格的完美实现
- AR资料
- 华清星创客学员承载梦想嗨翻青春
- Python入门:os部分方法介绍(一)
- vs好用的调试技巧
- 页面发送请求,浏览器执行哪些操作
- java中如何在eclipse里查看一个接口的所有实现类或一个类的子父级关系?