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

大约有 577 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)

121. laya.ui.Radio [ 83%]

...| Methods | Events Packagelaya.uiClasspublic class RadioInheritanceRadio Button Component Sprite Node EventDispatcher Object Radio 控件使用户可在一组互相排斥的选择中做出一种选择。 用户一次只能选择 Radio 组中的一个成员。选择未选中的组成员将取消选...

来源: laya_api 发布时间: 20170929

122. 关于laya UI 编辑器的一点建议 [ 83%]

...要, 但有的时候用起来有点别扭: 关于UI组件的设计, 比如 Button , Hscroll , ProgressBar  1.现在的Button 的几个状态都放到一张图片上, 这样这样设计没什么问题, 但是有的时候我希望多个按钮的抬起的状态是一样的, 单按下的状态是不一...

来源: Laya_社区 发布时间: 20180122

123. laya.ui.Radio [ 82%]

...| Methods | Events Packagelaya.uiClasspublic class RadioInheritanceRadio Button UIComponent Sprite Node EventDispatcher Object Radio 控件使用户可在一组互相排斥的选择中做出一种选择。 用户一次只能选择 Radio 组中的一个成员。选择未选中的组成员将取消...

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

124. 如何资源路径改成绝对路径 [ 82%]

...到另一个目录问题 ui编辑器编辑了一个面板,面板里有个button, 编辑好以后,正常加载ui 面板,button的图片资源没找到,导致button无法正常显示 资源编辑器的label控件的垂直居中有问题 Animation的createFrames为何加载不了有的图集资...

来源: Laya_社区 发布时间: 20180601

125. 自定义button 报: can not create:ScaleButton [ 82%]

LayaAir引擎 自定义button 报: can not create:ScaleButton https://ldc.layabox.com/doc/?nav=zh-ts-2-2-3  根据这个帖子做: 在 TestView.ui 上 编译没有问题, 大概是在”5.2修改组件的类引用”没有搞对,有空的可以帮我看一下!   好有 在 layaeditor...

来源: Laya_社区 发布时间: 20170920

126. VBox与HBox组件,不能对齐button按钮 [ 82%]

VBox与HBox组件,不能对齐button按钮 在Hbox和Vbox中的按钮无法被对齐。  版本是 LayaAir IDE 2.0.1beta 附件 : --> 2019-03-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞...

来源: Laya_社区 发布时间: 20190328

127. 关于button的destroy不起作用的问题 [ 82%]

关于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

128. 请问:Ts下如何实现打开照相机和系统图库的方法?IOS和Android [ 82%]

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

129. 用laya自带的ui编辑器 编辑了一个ui界面,怎么加载啊? 怎么写代码让这个ui界面, 在程序运行时,显示出来啊? [ 82%]

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

130. Clip属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 82%]

...代码:** ```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