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

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

81. laya.ui.Tree_API3.0 [ 38%]

....scrollBarSkin = "resource/ui/vscroll.png";//设置 tree 的皮肤。 tree.itemRender = Item;//设置 tree 的项渲染器。 tree.xml = xml;//设置 tree 的树结构数据。 tree.x = 100;//设置 tree 对象的属性 x 的值,用于控制 tree 对象的显示位置。 tree.y = 100;//设置 tree...

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

82. List属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 37%]

...必须是类,不能是实例化对象,Item需类继承于Box) list.itemRender =Item; //列表显示区单元格的列数 list.repeatX = 1; //列表显示区单元格的行数 list.repeatY = 4; //设置列表位置 list.x = (Laya.stage.width - Item.WID) / 2; list.y = (Laya.stage.height - Item.H...

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

83. 列表组件 · LayaAir3.0文档 · LAYABOX [ 37%]

...{ super(); } onAwake(): void { var list: Laya.List = new Laya.List(); list.itemRender = Item; list.repeatX = 1; list.repeatY = 4; list.x = (Laya.stage.width - Item.WID) / 2; list.y = (Laya.stage.height - Item.HEI * list.repeatY) / 2; // 设置List的垂直滚动 list.scrollType = Laya.ScrollType.Ver...

来源: Laya3.0_文档 发布时间: 20230927

84. Tree属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 33%]

...r tree = new Tree(); tree.scrollBarSkin = "../../res/ui/vscroll.png"; tree.itemRender = Item; tree.xml = xml; tree.size(300, 300); tree.x = (Laya.stage.width - tree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; Laya.stage.addChild(tree); } })(); ```

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

85. Tree属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 32%]

...r tree: Tree = new Tree(); tree.scrollBarSkin = "res/ui/vscroll.png"; tree.itemRender = Item; tree.xml = xml; tree.size(300, 300); tree.x = (Laya.stage.width - tree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; Laya.stage.addChild(tree); } } } import Box = Laya.Box; import Clip = Laya....

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

86. Tree属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 31%]

...置单元格为Item类(只能用类,不能用实例的对象) tree.itemRender = Item; //对树形结构赋值 tree.xml = xml; //修改大小 tree.size(300, 300); //修改树的位置 tree.x = (Laya.stage.width - tree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; //加载到舞台...

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

87. 树状列表组件 · LayaAir3.0文档 · LAYABOX [ 30%]

...ee.scrollBarSkin = "atlas/comp/vscroll.png"; // 添加列表渲染项 tree.itemRender = Item; // 解析tree的数据 tree.xml = new Laya.XML(treeData); tree.size(300, 300); tree.x = (Laya.stage.width - tree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; tree.bgColor = "#d25454"; this.ow...

来源: Laya3.0_文档 发布时间: 20230828

88. laya.ui.ComboBox [ 28%]

...选中时标签颜色,标签颜色,边框颜色,背景颜色" ComboBox  itemRender : * = null 渲染项,用来显示下拉列表展示对象 ComboBox  itemSize : int 下拉列表项标签的字体大小。 ComboBox  labelBold : Boolean 表示按钮文本标签是否为粗体字。 ComboBox ...

来源: laya_api 发布时间: 20170929

89. UI-RefreshList [ 28%]

...reshList.top = 30; Laya.stage.addChild(this.refreshList); this.refreshList.itemRender = ItemBox; this.refreshList.vScrollBarSkin = ""; // 创建数据 var data = this.createData(9, "初始数据"); this.refreshList.array = data; // 添加事件监听 this.refreshList.on(Event.MOUSE_UP, this, this.st...

来源: Laya2.0_示例 发布时间: 20241001

90. laya.ui.ComboBox [ 28%]

...选中时标签颜色,标签颜色,边框颜色,背景颜色" ComboBox  itemRender : * = null 渲染项,用来显示下拉列表展示对象 ComboBox  itemSize : int 下拉列表项标签的字体大小。 ComboBox  labelBold : Boolean 表示按钮文本标签是否为粗体字。 ComboBox ...

来源: Laya2.0_api 发布时间: 20190513