• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 333 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0045 秒)

191. UI-RefreshList [ 56%]

...ructor(){ super(); this.width = 443; this.height = 86; this.left = 0; this.right = 0; this.zOrder = 2; this.initItem(); } /** 初始化列表子项内容 * */ public function initItem(){ // 列表item的背景图 this.msgBG = new Image("res/ui/refreshList/img_bg22.png"); this.addChild(this.msgBG); t...

来源: Laya2.0_示例 发布时间: 20241001

192. MiniAdpter.nativefiles 设置后并没有起作用 [ 56%]

... scalefixed适配模式设置后,image的ceterX,centerY,top,bottom,left,right这些都没用 修改项目设置-》图集设置》index.html目录位置后加载资源出错 自定义mesh可以正常显示,移动位置后,mesh无法显示了 list组件改变位置后在改变数据源的长度...

来源: Laya_社区 发布时间: 20190902

193. laya.ui.Tree_API3.0 [ 55%]

...ass Item extends Box { public function Item() { this.name = "render"; this.right = 0; this.left = 0; var selectBox:Clip = new Clip("resource/ui/clip_selectBox.png", 1, 2); selectBox.name = "selectBox"; selectBox.height = 24; selectBox.x = 13; selectBox.y = 0; selectBox.left = 12; addChild(selectBox)...

来源: Laya3.0_api 发布时间: 20231115

194. laya2.0 ui控件设置center总是有问题 [ 55%]

...运行的时候却显示在最左边了(就像是x=0的效果)。 left,right,top,bottom相关的也时好时坏,用1.7.22版本的时候至少编辑器调正确了,运行时也会正确。到了2.0就越用越不懂了.... T^T 2018-11-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

来源: Laya_社区 发布时间: 20181123

195. scaleMode 在微信小游戏IDE上正常 在IOS端不正常,而且只能按原图比例显示 [ 55%]

...xedauto、或者full适配模式后,将背景图的top、bottom、leftright属性设置为0,就可以铺满全屏了 2019-03-26 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 noSmoking 相关问题 关于...

来源: Laya_社区 发布时间: 20190325

196. HTML文本 · LayaAir3.0文档 · LAYABOX [ 55%]

...距离 * vertical-align:top|bottom|middle; 垂直对齐方式 * align:left|right|center; 水平对齐方式 * line-height:20px; 行高 * background-color:#ff0000; 背景颜色 * border-color:#ff0000; 边框颜色 * width:100px; 对象宽度 * height:100px; 对象高度 * * 示例用法: * var div:...

来源: Laya3.0_文档 发布时间: 20230303

197. 场景(View)通过runtime挂载脚本后,通过UI编辑器设置的位置属性(bottom等)失效,必现 [ 55%]

... 为fixedwidth,通过laya2.0设置 该场景 的top、bottom、leftright 是0,场景内部随便搞个元素(比如 box),设置box 的bottom 为0,打开chrome调试,不管任何机型设备,该box元素相对该场景会一直在底部 3、通过 runtime挂载 一个空脚...

来源: Laya_社区 发布时间: 20200612

198. Label属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 53%]

...。 | | align | 文本的水平对齐方式。可选值有left、center、right。 | | valign | 文本的垂直对齐方式。可选值有top、middle、bottom。 | | color | 文本的颜色值。默认为黑色。 | | bgColor | 文本背景颜色。 | | font | 文本的字体名称。 | | fontSize ...

来源: Laya2.0_文档 发布时间: 20210714

199. [LayaAir3]Laya3.0 中设置舞台背景透明无效 [ 53%]

...";         this.iframe.style.left = "0";         this.iframe.style.right = "0";         this.iframe.style.width = "100%";         this.iframe.style.height = "100%"         this.iframe.style.border = "none";         this.iframe.style.zIndex=-1     }   那我有一个需求...

来源: Laya_社区 发布时间: 20240304

200. HTMLDivElement 2.0 只有单行内容是 水平排版不居中 [ 52%]

...l-align:top|bottom|middle;    垂直对齐方式      * align:left|right|center;             水平对齐方式      * line-height:20px;                    行高      * background-color:#ff0000;            背景颜色      * border-c...

来源: Laya_社区 发布时间: 20190227