大约有 240 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0029 秒)
Laya3.0_api(137) Laya_社区(48) Laya2.0_文档(16) Laya2.0_api(10) Laya3.0_文档(9) laya_api(8) Laya2.0_示例(6) Laya_示例(6)
...结构数据赋值。 label.fontSize = 20; label.color = "#FFFFFF"; label.padding = "6,0,0,13"; label.width = 150; label.height = 30; label.x = 33; label.y = 1; label.left = 33; label.right = 0; this.addChild(label); let arrow = new Clip("res/ui/tree/clip_tree_arrow.png", 1, 2); arrow.name = "arrow"...
来源: Laya2.0_示例 发布时间: 20241002
...erscore", valign: "middle", text: 2e6, padding: "0,8,0,0", height: 20, fontSize: 20, color: "#eeeeee", centerY: 0 } }, 如何在javascript中获取Label的值呢 ? <javascript> // 获取这个Label的...
来源: Laya_社区 发布时间: 20170529
...体 txt.bold = true; //设置斜体 txt.italic = true; //设置边距 txt.padding = [5,5,5,5]; Laya.stage.addChild(txt); ``` ![5](img/5.png) 这里我们就可以看到字体样式、字体大小有明显的变化,文本框的最外围有一圈浅蓝色的边框,文本区的背景变为红色。...
来源: Laya2.0_文档 发布时间: 20210714
...idth; this.frame.height=850; this.frame.style.margin="0"; this.frame.style.padding="0"; this.frame.style.left="0"; this.frame.style.top="50px"; this.frame.id="OneGou"; this.frame.style.position="absolute"; this.frame.style.zIndex=100; this.frame.src="http://www.baidu.com"; Laya.Browser.document.body...
来源: Laya_社区 发布时间: 20190316
...这个华为的浏览器不行,下了个QQ浏览器可以,用三星的pad测试也可以。 wudi199553 • 2017-11-20 14:22 你可以去打开其他h5游戏,试试看,万一是你的浏览器不支持呢,如果实在是只有laya的有问题,方便的话,把手机寄过来我看一下 ...
来源: Laya_社区 发布时间: 20171120
...统 2.3.4 navigator.appVersion = 5.0(Windows;U;Windows NT 5.1;) 2.小米Pad2 navigator.appVersion = 5.0(iPad;U;CPU OS 5_0 like Mac OC X;en-us) 2016-08-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueyi...
来源: Laya_社区 发布时间: 20160801
...rsererror style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black"> <h3>This page contains the following errors: </h3> <div style="font-family:monospace;font-size:12px">error on line 1 at column 53:...
来源: Laya_社区 发布时间: 20171130
...的避免黑边的情况,另外相对布局不是全部都能解决,像pad这种尺寸比只能退而求其次,写个判断,留下部分黑边,望采纳,谢谢! 2018-12-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 150*...
来源: Laya_社区 发布时间: 20181206
...ontentText.color = '#fff'; // contentText.bgColor = '#141111'; contentText.padding = '0,20,0,20'; contentText.leading = '6'; contentText.fontSize = fontSize+2; contentText.valign = 'middle'; contentText.height = 0; contentText.wordWrap = true; contentText.width = parseInt(trueWidth*0.9); contentBox....
来源: Laya_社区 发布时间: 20180305
... inputText.y = (Laya.stage.height - inputText.height >> 1) +100; inputText.padding = [2, 2, 2, 2]; inputText.bgColor = "#666666"; inputText.color = "#ffffff"; inputText.fontSize = 20; Laya.stage.addChild(inputText); } } } new laya.HelloLayabox(); ``` 运行结果: ![2](img/2.png)
来源: Laya2.0_文档 发布时间: 20210715