大约有 531 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
...) { //实例化垂直滚动条 this.hScrollBar = new HScrollBar(); //加载皮肤资源(其他资源根据规范命名后,会自动加载) this.hScrollBar.skin = "res/ui/hscroll.png"; //设置宽度 this.hScrollBar.width = 400; //设置位置 this.hScrollBar.pos(150, 170); //最低滚动位置...
来源: Laya2.0_文档 发布时间: 20210714
...) { //实例化垂直滚动条 this.vScrollBar = new VScrollBar(); //加载皮肤资源(其他资源根据规范命名后,会自动加载) this.vScrollBar.skin = "res/ui/vscroll.png"; //设置宽度 this.vScrollBar.width = 400; //设置位置 this.vScrollBar.pos(150, 170); //最低滚动位置...
来源: Laya2.0_文档 发布时间: 20210715
...动条位置 this.vslider.skin = "resources/vslider.png";//滑动条底图皮肤 this.vslider.value = 0.5; this.vslider.max = 50; this.vslider.min = 0; this.vslider.tick = 1; this.vslider.showProgress = true;//必须存在vslider$progress.png资源,否则会报错 } } 二、通过代码创建VSlid...
来源: Laya3.0_文档 发布时间: 20251010
...动条位置 this.hslider.skin = "resources/hslider.png";//滑动条底图皮肤 this.hslider.value = 0.5; this.hslider.max = 50; this.hslider.min = 0; this.hslider.tick = 1; this.hslider.showProgress = true;//必须存在hslider$progress.png资源,否则会报错 } } 二、通过代码创建HSlid...
来源: Laya3.0_文档 发布时间: 20251010
...id { //实例化垂直滚动条 this.hScrollBar= new HScrollBar(); //加载皮肤资源(其他资源根据规范命名后,会自动加载) this.hScrollBar.skin = "res/ui/hscroll.png"; //设置宽度 this.hScrollBar.width = 400; //设置位置 this.hScrollBar.pos(150, 170); //最低滚动位置...
来源: Laya2.0_文档 发布时间: 20210715
...id { //实例化垂直滚动条 this.vScrollBar= new VScrollBar(); //加载皮肤资源(其他资源根据规范命名后,会自动加载) this.vScrollBar.skin = "res/ui/vscroll.png"; //设置宽度 this.vScrollBar.width = 400; //设置位置 this.vScrollBar.pos(150, 170); //最低滚动位置...
来源: Laya2.0_文档 发布时间: 20210715
...Url Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/S...
来源: Laya3.0_api 发布时间: 20231115
...件默认为true。 Sprite hScrollBarSkin : String 水平方向滚动条皮肤。 List itemRender : * 单元格渲染器。 取值: 单元格类对象。 UI 的 JSON 描述。 List layoutEnabled : Boolean = true 是否启用相对布局 Component left : Number 从组件左边到其内容...
来源: laya_api 发布时间: 20170929
...,默认值为0。以角度为单位。Sprite skin : String 对象的皮肤地址,以字符串表示。 如果资源未加载,则先加载资源,加载完成后应用于此对象。 注意:资源加载完成后,会自动缓存至资源库中。 ProgressBar stage : Stage[read-only] 对...
来源: laya_api 发布时间: 20170929
...件默认为true。 Sprite hScrollBarSkin : String 水平方向滚动条皮肤。 List itemRender : * 单元格渲染器。 取值: 单元格类对象。 UI 的 JSON 描述。 List left : Number 从组件左边到其内容区域左边之间的水平距离(以像素为单位)。 UICompon...
来源: Laya2.0_api 发布时间: 20190513