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

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

141. dialog的lock属性没出现 [ 79%]

...isplay.Stage; import laya.ui.Button; import laya.ui.Dialog; import laya.ui.Image; import laya.utils.Handler; import laya.webgl.WebGL; public class DialogCenterClose { private const DIALOG_WIDTH:int = 220; private const DIALOG_HEIGHT:int = 275; private const CLOSE_BTN_WIDTH:int = 43; private const CL...

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

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

...log("当前选择的索引:" + index); } } import Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public static HEI: number = 85; private img: Image; constructor(){ super(); this.size(Item.WID, Item.HEI); this.img = new Image(); this.addChild(th...

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

143. 控件为image,在ide里面设置了mouseThrough 为 true,可我调试引擎时发现mouseThrough是false [ 79%]

控件为image,在ide里面设置了mouseThrough 为 true,可我调试引擎时发现mouseThrough是false ide 里面控件为image,在ide里面设置了mouseThrough 为 true,可我调试引擎时发现mouseThrough是false,是什么原因,麻烦告知一下。看引擎代码,目前没有...

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

144. 扇形遮罩画不全画了一个很奇怪的形状但是矩形的就没问题。显示效果如下:版本号1.7.10 [ 79%]

...           view.icon_3.skin=p;                 var im:Image=new Image();                 im.skin=p;                 im.setColor(Const_colorData.ColorData[0]);                 im.setName("grayIcon");                 view.icon_3.addCh...

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

145. 新手求问:按照时间轴动画编辑器的帮助文档操作,不能正确的创建动画? [ 78%]

...描述是: 6.拖拽帧指针移动到30帧,在资源面板面里选中Image 组件 1.png 并拖拽到页面上,设置它的属性x值为170、属性y 的值为490。 我按照步骤描述,尝试从资源面板里选中一个资源并拖到页面上,但是弹出提示:动画编辑模式...

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

146. ui编辑器Box设置锚点后,红色边框位置偏移 [ 78%]

...设置锚点后,红色边框位置偏移 在ui编辑器中,box里有个image控件,image的锚点设置为(0.5,0.5),box的size就错了 红色部分是box的 size, 正常的是这样的   附件 : --> 2016-11-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

147. list里面可以加入多个view吗? [ 78%]

....dataSource.src); cell.setLabel(cell.dataSource.txt); } } } import laya.ui.Image; import laya.ui.Label; import laya.ui.View; class Item extends View { public static var WID:int=150; public static var HEI:int=85; private var img:Image; private var label:Label; public function Item() { this.size(WID,H...

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

148. 如何取消button的皮肤? [ 78%]

...整个文件夹的图片,有什么好的方法么 如何在不destroy Laya.Image对象的前提下,clean掉之前load的image图片/皮肤 弹出提示的对话框用什么来做?(其中有确定和取消选项) button的点击和悬浮特效怎么取消 Panel的滚动条皮肤问题 问题...

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

149. new了2个用ui编辑器做的界面,前三个按钮点击无效,后两个点击有响应 [ 78%]

...11-13 19:41 pannel吞噬了鼠标点击事件,我将我的pannel,改为image,然后将image的mousethruth改为true就没问题了 ymsdandan • 2017-11-13 19:44 @浪货界扛把子:嗯嗯,解决就好 浪货界扛把子 • 2017-11-13 20:54 @ymsdandan:但是在代码中设置mousethruth为t...

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

150. 代码创建精灵监听不到事件? [ 78%]

...注: 4 人 15818760256 • 2017-11-30 17:27 我把sprite改成了new Laya.Image(str) , 把这两句去掉: var texture = Laya.loader.getRes(boxstr); box.graphics.drawTexture(texture); 不能直接这么加载资源,要把资源放在new的Image里,new Laya.Image(str) 这样写就有点击事...

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