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

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

61. laya.ui.List_API3.0 [ 73%]

...列表的数据信息。 for (var i:int = 0; i < 20; i++) { arr.push({label: "item" + i}); } var list:List = new List();//创建一个 List 类的实例对象 list 。 list.itemRender = Item;//设置 list 的单元格渲染器。 list.repeatX = 1;//设置 list 的水平方向单元格数量。 li...

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

62. ComboBox显示问题 [ 73%]

... public var checkBox:CheckBox; public var gongji:Button; public var btn1HasLabel:Button; public static var uiView:Object = {"type": "View", "props": {"x": "0", "y": "0", "width": 388, "height": 376}, "child": [{"type": "ComboBox", "props": {"var": "combox", "stateNum": "1", "x": 7, "y": 146, "width"...

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

63. ComboBox属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 73%]

...​ ![图片0.png](img/1.png) ​ (图1) ​ 设置 ComboBox 的属性 labels 的值为 “label1,label2” 后,显示效果如下: ​ 常态: ​ ![图片0.png](img/2.png) ​ (图2) ​ 点击后显示下拉选项列表: ​ ![图片0.png](img/3.png) ​ (图3) ​ 在下拉...

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

64. laya.physics.BoxCollider_API3.0 [ 73%]

...llider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enabled friction height hideFlags id isSensor restitution width x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy o...

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

65. SCALE_FIXED_WIDTH适配屏幕的问题 [ 72%]

...p 如果是app,可能是全面屏设备问题   <application android:label="@string/app_name" android:icon="@drawable/icon"> <meta-data android:name="android.app.lib_name" android:value="cocos2dlua" /> <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/...

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

66. Clip属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 72%]

...{ this.controller = new Button(this.buttonSkin, "暂停"); this.controller.labelBold = true; this.controller.labelColors = "#FFFFFF,#FFFFFF,#FFFFFF,#FFFFFF"; this.controller.size(84, 30); this.controller.on('click', this, this.onClipSwitchState); this.controller.x = (Laya.stage.width - this.controll...

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

67. 在2.0里如何调用在编辑模式下创建的对话框 [ 72%]

...rops":{"width":640,"sceneColor":"#000000","height":480}, "nodeParent":-1, "label":"Dialog", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, "compId":1, "child":[ { "x":15, "type":"Image", "props":{"y":0,"x":0,"width":640,"skin":"comp/img_bg.png","sizeGrid":"25,5,5,5","height":4...

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

68. 【分享】[UI组件专题] Label 与 Button (附:九宫格,九妹图) [ 72%]

【分享】[UI组件专题] Label 与 Button (附:九宫格,九妹图)     为了更好的维护社区建设,也为了让更多的人更容的了解LayaAirIDE,这篇分享介绍一下最常用的UI组件,Label和Button。       Laya虽小,五脏俱全。跟着下方示例动手实...

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

69. laya.ani.swf.MovieClip [ 71%]

...置。 Node addChildren(... args):void 批量增加子节点 Node  addLabel(label:String, index:int):void 增加一个标签到index帧上,播放到此index后会派发label事件 MovieClip clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node c...

来源: laya_api 发布时间: 20170929

70. [LayaAir3]layaair3.1.3版本打出的项目中的text与label组件在vivo小游戏引擎1105及以下文字显示异常 [ 71%]

[LayaAir3]layaair3.1.3版本打出的项目中的text与label组件在vivo小游戏引擎1105及以下文字显示异常 layaair3.1.3版本打出的项目中的text与label组件在vivo长屏手机并且小游戏引擎在1105及以下文字显示异常,试了一下,稳定复现 附件 : --> asd...

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