大约有 3 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0012 秒)
...= "#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...
来源: Laya_示例 发布时间: 20241124
...{ // 项渲染器 var Box = Laya.Box; var Label = Laya.Label; function ListItemRender() { var label = null; ListItemRender.__super.call(this); this.size(100, 20); label = new Label(); label.fontSize = 12; label.color = "#FFFFFF"; this.addChild(label); this.setLabel = function(value) { label.text = v...
来源: Laya_示例 发布时间: 20241124
...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); } })();module laya { import Stage = Laya.Stage; ...
来源: Laya_示例 发布时间: 20241124