CocosCreator-Label
来源:互联网 发布:windows.iso怎样安装 编辑:程序博客网 时间:2024/05/17 08:46
文字组件(Label)
Horizontal Align(水平对齐):文字在约束框中水平方向的对齐准线,可以从 Left、Right、Center 三种位置中选择。
Vertical Align(垂直对齐):文字在约束框中垂直方向的对齐准线,可以从 Top、Bottom、Center 三种位置中选择。
Overflow(排版模式): 决定了文字内容增加时,如何在约束框的范围内排布。
- 截断(Clamp):文字首先按照对齐模式和尺寸的要求进行渲染,而超出约束框的部分会被隐藏(截断)。
- 自动缩小(Shrink):文字按照原定尺寸渲染会超出约束框时,会自动缩小文字尺寸以显示全部文字。
- 自动适应高度 (Resize Height):自动适应高度模式会保证文字的约束框贴合文字的高度,不管文字有多少行。
阅读全文
0 0
- CocosCreator-Label
- CocosCreator
- CocosCreator
- CocosCreator快捷键
- CocosCreator上手
- CocosCreator + socketIO
- CocosCreator-Canvas
- CocosCreator-Sprite
- CocosCreator-Widget
- CocosCreator-Layout
- label
- Label
- label
- Label
- label
- Label
- label
- label
- centos 6.5 忘记root密码的解决办法
- 算法时间复杂度与空间复杂度
- Git基本常用命令
- [LeetCode]对称二叉树
- Comutil类
- CocosCreator-Label
- Java读写txt文件
- 师兄面试心得
- strlen, strcat, strcmp, strcpy函数
- HBase (2)---数据存储结构
- Intellij IDEA2017 scala环境搭建
- React 16 新特性
- VS Code编辑器快捷键使用
- codeforces 580A Kefa and First Steps