大约有 1,208 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0056 秒)
Laya_社区(872) Laya2.0_文档(85) Laya3.0_api(61) Laya2.0_api(58) laya_api(55) Laya_示例(32) Laya2.0_示例(27) Laya3.0_文档(18)
...华为安全键盘后,无法关闭(官网的例子) (function() { var Stage = Laya.Stage; var TextInput = Laya.TextInput; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var SPACING = 100; var INPUT_WIDTH = 300; var INPUT_HEIGHT = 50; var Y...
来源: Laya_社区 发布时间: 20190814
...torInfo="compId=3"/> </Image> <Image y="96" x="86" width="150" var="headImage" skin="images/head/nt_n.png" height="150" editorInfo="compId=6"/> <TextInput y="95" x="255" width="313" var="nickName" valign="middle" text="NickName" skin="setting/t2_n.png" sizeGrid="14,14,14,14" prompt...
来源: Laya_社区 发布时间: 20170221
...段代码需要在setupDemo之前执行。 (function() { // 项渲染器 var Box = Laya.Box; var Image = Laya.Image; var WID = 373, HEI = 85; function Item() { Item.__super.call(this); this.size(WID, HEI); this.img = new Image(); this.addChild(this.img); this.setImg = function(src) { th...
来源: Laya_社区 发布时间: 20180731
...aya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; var skins: Array = []; skins.push("res/ui/hscroll.png", "res/ui/hscroll$bar.png", "res/ui/hscroll$down.png", "res/ui/hscroll$up.png"); skins.push("res/ui/vscroll.png", "res/ui/vscroll$bar.png", "res/ui/vscroll$down.png", "res...
来源: Laya2.0_示例 发布时间: 20241117
...aya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; var skins: Array = []; skins.push("res/ui/hslider.png", "res/ui/hslider$bar.png"); skins.push("res/ui/vslider.png", "res/ui/vslider$bar.png"); Laya.loader.load(skins, Handler.create(this, this.onLoadComplete)); } private onLo...
来源: Laya2.0_示例 发布时间: 20241117
...不出来,但是也无报错-------------------------------------------- var label:Label = new Label(); var textFormat:TextFormat = new TextFormat("Microsoft YaHei", 50, "#FF00FF", true, true, true); label.textFormat = textFormat; label.wordWrap = true; label.lWidth = 100; label.lHeight = 100; lab...
来源: Laya_社区 发布时间: 20170516
....*; import laya.display.*; public class MainHeadUI extends View { public var image1:Image; public var input:TextInput; public var combox:ComboBox; public var radio:RadioGroup; public var checkBox:CheckBox; public var gongji:Button; public var btn1HasLabel:Button; public static var uiView:Object = ...
来源: Laya_社区 发布时间: 20180327
...ler.create(this, this.onLoadComplete)); } private onLoadComplete(): void { var ta: TextArea = new TextArea(""); ta.skin = this.skin; ta.font = "Arial"; ta.fontSize = 18; ta.bold = true; ta.color = "#3d3d3d"; ta.pos(100, 15); ta.size(375, 355); ta.padding = "70,8,8,8"; var scaleFactor: Number = Brows...
来源: Laya2.0_示例 发布时间: 20241117
...epeatY 的值为6。设置 List 对象的全局引用名,即设置属性 var 的值为 m_list。 ![图片0.png](img/5.png) (图5) ####6. 在代码里给 List 对象赋值。 ```javascript var data:Array =[]; for(var m:int =0;m (图6) ####8. 在代码里添加脚本,隐藏滚...
来源: Laya2.0_文档 发布时间: 20210715
....webgl.WebGL; public class UI_Clip { /***控制器按钮资源***/ private var buttonSkin:String = "../../../../res/ui/button-7.png"; /***切片资源***/ private var clipSkin:String = "../../../../res/ui/num0-9.png"; /***背景资源***/ private var bgSkin:String = "../../../../res/ui/coutDown.png"...
来源: Laya2.0_文档 发布时间: 20210714