大约有 407 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0083 秒)
Laya_社区(228) Laya3.0_api(48) Laya2.0_文档(37) Laya3.0_文档(21) Laya_示例(20) Laya2.0_示例(19) laya_api(17) Laya2.0_api(17)
...高,滚动条就出现了。初步确定是键盘输入文字无法改变label的textHeight,还是说别的什么情况?有没有什么处理方式? 2017-08-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回...
来源: Laya_社区 发布时间: 20170812
... 1 个回复 Laya_Aaron 赞同来自: 文字是画上去的, 用 text 和label 就是每个对象都画一次, 这个文字相同只是我们作为开发者知道,引擎并没有对组件内容进行判断 graphics 的动态文本 fillText 可以 做到 相同的文字 只缓存一次 ...
来源: Laya_社区 发布时间: 20190713
...t; Handler = Laya.Handler; WebGL = Laya.WebGL; Animation = Laya.Animation; Label = Laya.Label; Text = Laya.Text; Point = Laya.Point; Tween = Laya.Tween; TextArea = Laya.TextArea; class UI_RefreshList { constructor() { this.baseBox = null; this.refreshLoading = null; this.loadingAni = null; this.load...
来源: Laya2.0_示例 发布时间: 20251130
... 如果没解锁进行赋值 var goldlabel:Label = gold.getChildByName("goldLabel")as Label; goldlabel.text= HostData.array[index].gold;//商城角色购买金额的赋值 }else{ ...
来源: Laya_社区 发布时间: 20180503
...teController() { controller = new Button(buttonSkin, "暂停"); controller.labelBold = true; controller.labelColors = "#FFFFFF,#FFFFFF,#FFFFFF,#FFFFFF"; controller.size(84, 30); controller.on('click', this, onClipSwitchState); controller.x = (Laya.stage.width - controller.width) / 2; controller.y = ...
来源: Laya2.0_文档 发布时间: 20210715
...频率很高的时候回出现黑屏闪烁 发光滤镜的效果,针对label没有效果吗 问题状态 最新活动: 2017-01-18 12:14 浏览: 1526 关注: 2 人
来源: Laya_社区 发布时间: 20170118
...{ this.controller = new Button(this.buttonSkin, "暂停"); this.controller.labelBold = true; this.controller.labelColors = "#FFFFFF,#FFFFFF,#FFFFFF,#FFFFFF"; this.controller.size(84, 30); this.controller.on('click', this, this.onClipSwitchState); this.controller.x = (Laya.stage.width - this.controll...
来源: Laya2.0_文档 发布时间: 20210714
... = new Handler(this, onChange); for(var m:int=0;m<21;m++){ data.push({m_label:"No."+m}); } mDemoUi.m_list.array=data; Laya.stage.addChild(mDemoUi); ... private function onChange():void{ trace("list index= "+mDemoUi.m_list.scrollBar.value); mDemoUi.valueLab.text="滚动条位置value= "+mDemoUi.m_...
来源: Laya_社区 发布时间: 20171016
...s | Events Packagelaya.uiClasspublic class TextInputInheritanceTextInput Label Component Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Prope...
来源: laya_api 发布时间: 20170929
as hello world 背景还是黑色 as hello world package { import laya.ui.Label; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); Laya.stage.bgColor = "#ffffff"; var sp : Label = new Label("hello world"); //sp.fontSize = 55; sp.pos(100, 100) ; //sp.co...
来源: Laya_社区 发布时间: 20170711