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

大约有 250 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0067 秒)

51. 聊天框能不能像微信一样字数超出后可以换行 [ 76%]

...相关链接 提交 1 个回复 cuixueying 赞同来自: 可以换行,设置好文本宽度,设置以下属性即可: textInput.multiline=true; textInput.wordWrap=true; 2017-09-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...

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

52. laya.ui.TipManager [ 76%]

...内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...

来源: laya_api 发布时间: 20170929

53. laya.ui.Label [ 76%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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

54. laya.ui.Box [ 76%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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

55. 文字尺寸超出大图合集限制 [ 76%]

...法垂直居中 求助!关于容器超出影藏 请教下textarea如何设置滚动条,现在文字量多一点话就不能滚动查看内容 Input输入文本restrict限制输入字符怎么使用? TextInput type 属性设置为 number 时候 maxChars 字数限制无效 官网文...

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

56. laya.ui.LayoutBox [ 76%]

...内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...

来源: laya_api 发布时间: 20170929

57. laya.ui.List [ 76%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent  array : Array 列表数据源。...

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

58. 为何我stage.height不能随着实际窗口自动改变呢? [ 76%]

...stage.height不能随着实际窗口自动改变呢? 这导致我UI设置bottom属性无效,请问是怎么回事呢   谢谢     static width:number=450;     static height:number=1000;     static scaleMode:string="fixedwidth";     static screenMode:string="none";  ...

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

59. laya.ui.VSlider [ 76%]

...内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮引用。 Slider blendMode : String指定要使用混合模式...

来源: laya_api 发布时间: 20170929

60. laya.ui.ViewStack [ 76%]

...lements IItem ViewStack 类用于视图堆栈类,用于视图显示设置处理。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall...

来源: laya_api 发布时间: 20170929