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

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

1. List属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 100%]

...= "#232628"; setup(); })(); function setup() { var list = new List(); list.itemRender = Item; list.repeatX = 1; list.repeatY = 4; list.x = (Laya.stage.width - WID) / 2; list.y = (Laya.stage.height - HEI * list.repeatY) / 2; // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = tr...

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

2. List属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 98%]

... this.setup(); } private setup(): void { var list: List = new 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.vScrollBarSkin = ""; list.selectE...

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

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

...必须是类,不能是实例化对象,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

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

...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

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

...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

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

...置单元格为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