大约有 134 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0031 秒)
...不同页面用到的资源大小、位置调整好,并让三个子页面居中对齐。效果如图3-3所示。  (图3-3) ### 2.2 设置ViewStack的页面索引selectedIndex ViewStack组件默认显示name属性为item0的图片,因为控制默认索引的...
来源: Laya2.0_文档 发布时间: 20210715
...gt;=0;i--){ width -= sps[i].width + this.padding; sps[i].x = width; } } // 居中 private setCharsPosOnCenter(){ if(!this.text || this.text == ""){ return; } var sps = this.charSprites; var length = sps.length; var width = this.width; var allCharsWidth = 0; for(var i=0;i<length;i++){ allCharsWidt...
来源: Laya_社区 发布时间: 20161014
..._CENTER: string = "center" Defined in laya/display/Stage.ts:89 画布水平居中对齐。 Static ALIGN_LEFT ALIGN_LEFT: string = "left" Defined in laya/display/Stage.ts:85 画布水平居左对齐。 Static ALIGN_MIDDLE ALIGN_MIDDLE: string = "middle" Defined in laya/display/Stage.ts:93 画布垂...
来源: Laya3.0_api 发布时间: 20231115
...适配,showall 为啥不能显示超出部分,fixeheight 为啥不能居中? 问题状态 最新活动: 2024-06-04 10:09 浏览: 5901 关注: 3 人 Tony666 • 2020-04-10 20:35 Demo已经提交,抽空请测试。 Tony666 • 2020-04-11 13:39 iPhone XR
来源: Laya_社区 发布时间: 20200410