大约有 562 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0051 秒)
Laya_社区(466) Laya2.0_文档(25) Laya3.0_文档(16) Laya3.0_api(16) Laya2.0_api(13) laya_api(13) Laya_示例(9) Laya2.0_示例(4)
...| Methods | Events Packagelaya.uiClasspublic class RadioInheritanceRadio Button UIComponent Sprite Node EventDispatcher Object Radio 控件使用户可在一组互相排斥的选择中做出一种选择。 用户一次只能选择 Radio 组中的一个成员。选择未选中的组成员将取消...
来源: Laya2.0_api 发布时间: 20190513
LayaAir引擎 自定义button 报: can not create:ScaleButton https://ldc.layabox.com/doc/?nav=zh-ts-2-2-3 根据这个帖子做: 在 TestView.ui 上 编译没有问题, 大概是在”5.2修改组件的类引用”没有搞对,有空的可以帮我看一下! 好有 在 layaeditor...
来源: Laya_社区 发布时间: 20170920
VBox与HBox组件,不能对齐button按钮 在Hbox和Vbox中的按钮无法被对齐。 版本是 LayaAir IDE 2.0.1beta 附件 : --> 2019-03-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞...
来源: Laya_社区 发布时间: 20190328
...th":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,"height":37,"sizeGrid":"4,4,4,4","var":"btn"},"type":"Button"},{"props":{"x":401,"y":56,"skin":"comp/clip_num.png","clipX":10,"var":"clip"},"type":"Clip"},{"props":{"x":220,"y":1...
来源: Laya_社区 发布时间: 20170330
关于button的destroy不起作用的问题 dialogButton = new Button(assets[0]); dialogButton.label = "知道了"; dialogButton.height = 30; dialogButton.width = 80; dialogButton.name = Dialog.CLOSE; dialogButton.pos(20,clientHeight*0.2-dialogButton.height-20); dialogButton.labelColors = "#7FFFD4,...
来源: Laya_社区 发布时间: 20180726
...法?IOS和Android LayaSample.ts文件如下: // 程序入口 import UIButton = laya.ui.Button; class GameMain{ constructor() { Laya.init(600,400); let body = laya.utils.Browser.document.body; let input = laya.utils.Browser.createElement(...
来源: Laya_社区 发布时间: 20161114
...代码:** ```typescript module laya { import Stage = Laya.Stage; import Button = Laya.Button; import Clip = Laya.Clip; import Image = Laya.Image; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Clip { private buttonSkin: string = "res/ui/button-7.png"; private clipSkin: s...
来源: Laya2.0_文档 发布时间: 20210714
button的disableColor属性无效,已录屏压缩,怎么解决? 附件 : --> QQ录屏20201024142729.rar 2020-10-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 kylin 赞同来自: IDE所用引擎并不是...
来源: Laya_社区 发布时间: 20201024
关于Button Skin 切图问题 美术工作按laya button 规则切图的时候总是会出现一两个像素对不齐的情况 例如默认状态时xia下面会看到hua划过或点击状态sha上面的边!!! 刚试了下用python 写了个简单的脚本 应该能让切图轻松一些把 ...
来源: Laya_社区 发布时间: 20180721
...复制一份一样的? ui编辑器编辑了一个面板,面板里有个button, 编辑好以后,正常加载ui 面板,button的图片资源没找到,导致button无法正常显示 laya2.0调用scene.gc方法,再次加载同一份资源时候,会导致gpu内存不断增加! 梦佳老...
来源: Laya_社区 发布时间: 20170603