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

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

1. 在 list 的 box(render) 中添加 HTMLDivElemnt 组件 导致 IDE 卡死崩溃 IDE版本:2.12.0 [ 100%]

...   "searchKey":"View",     "props":{"width":640,"sceneColor":"#000000","height":1136},     "nodeParent":-1,     "maxID":11,     "label":"View",     "isOpen":true,     "isDirectory":true,     "isAniNode":true,     "hasChild":true,     "compId":2,     "child":[         {    ...

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

2. panle 组件的高度 动态变化时 内部item 没有适配 [ 97%]

...e 组件的高度 动态变化时 内部item 没有适配 原本高度 700 height = 180; Laya.Tween.to(this.PanleList , {height : (this.thismaxHeight - height) } , 200 ) 子物体没有 适配 放大的时候会跟最最大高度适配 2017-06-16 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

3. 创建[HTMLDivElement]时遇到错误(手动实例一次本组件可定位错误) [ 97%]

...s.contentT.y; this.contentDiv.width = this.contentT.width; this.contentDiv.height = this.contentT.height; this.contentDiv.style.width = this.contentT.width; this.contentDiv.style.height = this.contentT.height; this.contentDiv.style.fontSize = this.contentT.fontSize; this.contentDiv.style.color = thi...

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

4. Laya中Button等组件lose skin的问题 [ 94%]

...    };         var width=img.sourceWidth;         var height=img.sourceHeight / this._stateNum;         img.$_GID || (img.$_GID=Utils.getGID());         var key=img.$_GID+"-"+this._stateNum;         var clips=WeakObject.I.get(key);         if (!Uti...

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

5. 分享,扩展Laya.Text组件实现简单的富文本 [ 94%]

...g = this.padding; var startX = padding[3]; var textAlgin = "left"; var lineHeight = this.leading + this._charSize.height; var tCurrBitmapFont = this._currBitmapFont; if (tCurrBitmapFont) { lineHeight = this.leading + tCurrBitmapFont.getMaxHeight(); }; var startY = padding[0]; if (this._height > 0...

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

6. 关于组件监听事件 [ 94%]

...n 赞同来自: 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height 2018-05-26 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无...

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

7. 真机测试时 有3d模型的界面尺寸就会错乱 [ 93%]

...modelPnl.localToGlobal(new Laya.Point(this._modelPnl.width, this._modelPnl.height))         let w = x2 - x         let h = y2 - y         let bounds = new Laya.Rectangle(x, y, w, h)          let view = new ModelView(bounds, 130, 6, 65)         this._modelPnl.addCh...

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

8. LayaAir 2.0 微信排行榜 离屏画布不能直接附加到组件纹理上 [ 91%]

...kList.graphics.drawTexture(texture, 0, 0, sharedCanvas.width, sharedCanvas.height); 2018-10-02 0 10 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 淡淡的疯 相关问题 微信关系链:LayaAir引擎针对微...

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

9. HtmlDiv组件问题 [ 91%]

...的设置,只支持水平居中,垂直居中建议你可以让(image.height-html.height)/2替代设置 2017-01-07 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 jthy1234 相关问题 发起问题须知,必看!!!不按提...

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

10. 请问如何让list组件自动适应内容高度,不产生滚动 [ 91%]

... cuixueying 赞同来自: 你自己设置list的宽高就可以了,list.height=list.repeatY*Item.height,每次修改条目数的时候,你都去重置下list的高度即可! 2017-06-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人...

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