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

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

1. Dialog 组件不支持 通过边距的拉伸适配? [ 100%]

...边距的拉伸适配? view 可以通过边距的拉伸适配 设置top left right bottom 为0 就可以自动大小 Dialog 是不支持的? 2018-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron...

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

2. 想要找设置相对坐标后的view全局坐标,发现有问题,请教一下. [ 98%]

...全局坐标 x,y, view 坐标设置为相对于scene的相对坐标, 即: left top right bottom centerX centerY userPanel 坐标设置为相对于view的相对坐标, 即: left top right bottom centerX centerY   现在想要获取 userPanel 的stage 全局坐标, 请教一下, 怎么获取? 附件...

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

3. view里面的图片怎么跟着变大变小 [ 87%]

...你可以设置它居父容器的位置!具体的你看下属性栏中的left、right、top、bottom 2017-10-20 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 haiboannacom 相关问题 请问LayaAir中如何使图片以圆形的方式...

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

4. list中的render设置x y坐标有效果吗 [ 82%]

...一个共用界面的view  想调整view的左右边距  设置x y坐标,left,top都没有效果 2018-07-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 看不懂 2018-07-23 0 0 分享...

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

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

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

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

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

...         this.iframe.style.bottom = "0";         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.z...

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

7. 2.0 Beta3版本中,runtime脚本的的问题 [ 72%]

...creenMode:string="none"; static alignV:string="top"; static alignH:string="left"; static startScene:any="mainscene.scene"; static sceneRoot:string=""; static debug:boolean=false; static stat:boolean=false; static physicsDebug:boolean=false; static exportSceneToJson:boolean=false; constructor(){} sta...

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

8. 初学者求助,如何通过九宫格设置image横向放大且不失真 [ 71%]

...对应top(上边距)、right(右边距)、bottom(下边距)、left(左边距),在4条线的中间部分为拉伸部分,4条线的外部是不进行拉伸的部分。 2016-12-20 1 2 分享 微博 QZONE 微信 182*****369 赞同来自: 将作图放大至右图的形状且不失真 ...

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

9. #layaContainer 这个div是绝对定位吗?是否只能通过绝对定位的方法来定义container的位 [ 68%]

...可以通过获取到canvas所在的div的id,然后操作它的style的lefttop值来实现你的需求! 2017-01-04 1 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Charon 相关问题 两个对象new了一个相同的对象,调用...

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

10. 新手入坑请教下各位大神关于LayaMaxUI问题 [ 68%]

...creenMode:string="none"; static alignV:string="top"; static alignH:string="left"; static startScene:any="LoginScene.scene"; static sceneRoot:string=""; static debug:boolean=false; static stat:boolean=false; static physicsDebug:boolean=false; static exportSceneToJson:boolean=true; constructor(){} sta...

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