UIView 设置边框颜色 和 UILabel 的设置
2015-10-25 00:00
429 查看
view3.layer.borderWidth = 1;
[view3.layer setBorderColor:[UIColor colorWithWhite:214/255.0f alpha:1].CGColor];
UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(50, 20, 210, 44)];
[label setText:@"用户登陆"];
[label setFont:[UIFont systemFontOfSize:17.0]];
[label setTextAlignment:NSTextAlignmentCenter];
[view3.layer setBorderColor:[UIColor colorWithWhite:214/255.0f alpha:1].CGColor];
UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(50, 20, 210, 44)];
[label setText:@"用户登陆"];
[label setFont:[UIFont systemFontOfSize:17.0]];
[label setTextAlignment:NSTextAlignmentCenter];
相关文章推荐
- 给uiview 添加边框以及圆角
- easyui-datagrid的url中的中文问题
- 每次保存之后build workspance 速度很慢的解决办法
- IOS--UIAlertViewDelegate对对话框的事件处理方法
- IOS-- UIAlertView(对话框)
- IOS---UIActivityIndicatorView
- 二、文件与目录
- The Dole Queue 约瑟夫环 模拟
- 从头认识java-3.2 return break continue
- 从头认识java-3.2 return break continue
- DP-POJ-2533-Longest Ordered Subsequence
- boost::lockfree::queue记录
- EasyUI - NumberBox组件
- LeetCode60——Permutation Sequence
- LeetCode之Unique Binary Search Trees & Unique Binary Search Trees II
- 知识库系统confluence5.8.10 安装与破解
- 用UIButton实现各种图文结合功能
- Android build.prop 添加自定义项 及使用
- 函数的返回值value的二进制位模式从左到右翻转后的值
- HDU 4632 Palindrome subsequence 记忆化搜索