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

大约有 163 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)

151. List属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 50%]

...t.repeatY = 4; list.x = (Laya.stage.width - WID) / 2; list.y = (Laya.stage.height - HEI * list.repeatY) / 2; // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(this, onSelect); list.renderHandler = new Handler(this, updateItem); Laya.stag...

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

152. 在微信小游戏中使用list,兼听不到mouseHandler跟selectHandler。 [ 49%]

...epeatY = 4;   list.x = (Laya.stage.width - WID) / 2; list.y = (Laya.stage.height - HEI * list.repeatY) / 2;   // 使用但隐藏滚动条 list.vScrollBarSkin = "";   list.selectEnable = true; list.selectHandler = new Handler(this, onSelect);   list.renderHandler = new Handler(this, updateItem); ...

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

153. List属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 49%]

...eatY = 4; list.x = (Laya.stage.width - Item.WID) / 2; list.y = (Laya.stage.height - Item.HEI * list.repeatY) / 2; // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(this, this.onSelect); list.renderHandler = new Handler(this, this.updateI...

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

154. emoji表情文字乱码 [ 48%]

...         var tHTMLChar=words[i]=new HTMLChar(w[i],size.width,size.height||style.fontSize,style);             if (this.href){                 var tSprite=new Sprite();                 this.addChild(tSprite);                 tHTMLCha...

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

155. 2D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...png",0,0,0,0,Laya.Handler.create(this,function() { console.log(sp.width,sp.height); })); Laya.stage.addChild(sp); loadImage在加载完成的回调函数触发之后才可以正确获取宽高。 直接调用size设置: Laya.loader.load("res/apes/monkey2.png",Laya.Handler.create(this,function() { ...

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

156. laya.ui.List_API3.0 [ 47%]

...andler selectEnable selectHandler tag totalPage drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY array bgColor blendMode bottom cacheAs cells centerX centerY components content customRenderEnable dataSource destroyed disabled displayHeight displayWidth ...

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

157. Laya.Loader.getRes("xxx.png")取出来的资源为什么是Texture2D,不是Texture [ 46%]

...  tex.once(Event.READY, this, this.drawImage, [tex, x, y, widthheight]);                 }   导致 tex 找不到 getIsReady 方法报错     报错堆栈 TypeError: tex.getIsReady is not a function at Graphics.loadImage (file:///D:/zxl/2.0_stable/lfGame2.0/bin/libs/lay...

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

158. List中放TextInput,当list滚动的时候,复用会有问题,input中的内容会乱,尤其有输入框focus的情况下 [ 45%]

...t.repeatY = 4; list.x = (Laya.stage.width - WID) / 2; list.y = (Laya.stage.height - HEI * list.repeatY) / 2; // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(this, onSelect); list.renderHandler = new Handler(this, updateItem); Laya.stag...

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

159. List属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 39%]

...表位置 list.x = (Laya.stage.width - Item.WID) / 2; list.y = (Laya.stage.height - Item.HEI * list.repeatY) / 2; // 使用但隐藏垂直滚动条 list.vScrollBarSkin = ""; //滚动在头或底回弹时间 list.scrollBar.elasticBackTime = 500; //滚动在头或底最大距离 list.scrollBar.elastic...

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

160. 开放数据域组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

...开放数据域的样式和布局 let style = { container: { width: 400, height: 200, backgroundColor: "#ffffff", justifyContent: "center", alignItems: "center", }, testText: { color: "#ffffff", width: "100%", height: "100%", lineHeight: 200, fontSize: 40, textAlign: "center", }, // 文字的最终...

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