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

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

41. laya.ui.CheckBox_API3.0 [ 61%]

...htSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY clickHandler components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gr...

来源: Laya3.0_api 发布时间: 20231115

42. laya2.0 ui控件设置center总是有问题 [ 61%]

...候却显示在最左边了(就像是x=0的效果)。 left,right,top,bottom相关的也时好时坏,用1.7.22版本的时候至少编辑器调正确了,运行时也会正确。到了2.0就越用越不懂了.... T^T 2018-11-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

43. 微信小游戏中iPhoneX的适配问题 [ 61%]

...DEMO来讲,使用fixedauto、或者full适配模式后,将bg的topbottom、left、right属性设置为0,不就可以铺满全屏了么。     2018-06-21 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 发个可复现demo吧 2018-06-04 0 2 分享 微博 QZONE 微信 kezhiyu 赞同...

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

44. laya.ui.View [ 61%]

...tring指定要使用的混合模式。目前只支持"lighter"。Sprite  bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 View cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重...

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

45. 一篇了解LayaAir的屏幕适配,及有效抗锯齿(TypeScript-LayaAir基础篇(TS)-屏幕适配) [ 60%]

...满全屏,所以。开发者完全可以通过相对布局属性(topbottom),把背景拉到全屏以及按钮拉到屏幕相对位置显示。实现各个屏幕下都做到完美的全屏适配。 ##### 3.2.2 保高适配模式fixedheight fixedheight保高模式就是在保障设计高的...

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

46. laya.ui.Radio_API3.0 [ 60%]

...htSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY clickHandler components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gr...

来源: Laya3.0_api 发布时间: 20231115

47. laya.ui.Component [ 60%]

...tring指定要使用的混合模式。目前只支持"lighter"。Sprite  bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自...

来源: laya_api 发布时间: 20170929

48. laya.ui.UIComponent [ 60%]

...tring指定要使用的混合模式。目前只支持"lighter"。Sprite  bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自...

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

49. HTML文本 · LayaAir3.0文档 · LAYABOX [ 60%]

...颜色 * padding:10px 10px 20px 20px; 边缘的距离 * vertical-align:top|bottom|middle; 垂直对齐方式 * align:left|right|center; 水平对齐方式 * line-height:20px; 行高 * background-color:#ff0000; 背景颜色 * border-color:#ff0000; 边框颜色 * width:100px; 对象宽度 * height:100...

来源: Laya3.0_文档 发布时间: 20230303

50. 竖屏游戏实现背景缩放铺满全屏,UI相对高度等比较缩放,UI位置始终按照竖屏比例显示在屏幕中间 [ 59%]

...334*750,然后设置给UI页面设置相对布局(left,right,topbottom),最后在代码中设置适配模式SCALE_FIXED_WIDTH !

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