可视化语法 Visual Format Syntax

The following are examples of constraints you can specify using the visual format. Note how the text visually matches the image.

标准宽度 Standard Space

[button]-[textField]

宽度约束 Width Constraint

[button(>=50)]

与父视图关联 Connection to Superview

|-50-[purpleBox]-50-|

垂直布局 Vertical Layout

V:[topField]-10-[bottomField]

直连视图 Flush Views

[maroonView][blueView]

Priority

[button(100@20)]

视图宽度相等 Equal Widths

[button1(==button2)]

多条件 Multiple Predicates

[flexibleButton(>=70,<=100)]

一行完整的布局 A Complete Line of Layout

|-[find]-[findNext]-[findField(>=20)]-|

最新文章

  1. 解决Eclipse中文乱码 - 技术博客 - 51CTO技术博客 http://hsj69106.blog.51cto.com/1017401/595598/
  2. poj3070 (斐波那契,矩阵快速幂)
  3. unique函数的作用
  4. 自学 iOS – 三十天三十个 Swift 项目
  5. WinForm利用 WinApi实现 淡入淡出 弹出 效果 仿QQ消息
  6. linux第11天 共享内存和信号量
  7. okhttputils开源库的混淆配置(Eclipse)
  8. CSS3 动画记
  9. HTML新元素
  10. python相关的工具
  11. STL中的set容器
  12. 【4】JAVA---地址App小软件(UpdatePanel.class)(表现层)
  13. ToDoList-学习中看到的知识盲点
  14. Java中 == 和 equals()详解
  15. openfire服务器+Spark搭建即时聊天系统 &amp; 阿里云的初步探索
  16. NGINX压力测试
  17. 值得一学的webpack4
  18. python的bit_length方法
  19. npm WARN enoent ENOENT: no such file or directory, open &#39;C:\Users\package.json&#39;
  20. 新唐N32905U1DN开发教程:MDK环境下工程搭建(官方提供的固件库)(转)

热门文章

  1. PostgreSQL9.5 新特性
  2. Android 镜像地址[持续更新中]
  3. sso笔记
  4. hadoop ssh无密码登陆
  5. oracle2
  6. oracle用户管理入门
  7. android开发之单点触摸
  8. JavaScript 应用开发 #4:切换任务的完成状态
  9. HTTP基础:URL格式、 HTTP请求、响应、消息
  10. Mybatis高级应用