大约有 142 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0053 秒)
...ocument.createElement("iframe"); iframe.style.position ="absolute";//设置布局定位。这个不能少。 iframe.style.zIndex = 100;//设置层级 iframe.style.left =pt.x+"px"; iframe.style.top =pt.y+"px"; iframe.src = "target-div.html"; Browser.document.getElementById("layaContainer").appendChil...
来源: Laya_社区 发布时间: 20180626
...封装了显示和交互功能,方便开发者快速搭建和管理界面布局。 在 LayaAir3 引擎中,UI小部件主要分为两类: 2D基础对象:属于引擎原生的2D节点系统,不依赖任何UI框架,通用于任意UI方案。 UI系统组件:即UI框架所提供的可视化...
来源: Laya3.0_文档 发布时间: 20251010
...): void Inherited from UIGroup.direction Defined in laya/ui/UIGroup.ts:443 布局方向。 默认值为"horizontal"。 取值: "horizontal":表示水平布局。 "vertical":表示垂直布局。 Returns string Inherited from UIGroup.direction Defined in laya/ui/UIGroup.ts:447 布局方向。 ...
来源: Laya3.0_api 发布时间: 20231115
... 的 JSON 描述。 List layoutEnabled : Boolean = true 是否启用相对布局 Component left : Number 从组件左边到其内容区域左边之间的水平距离(以像素为单位)。 Component length : int[read-only] 列表的数据总个数。 List mask : Sprite 遮罩,可以设...
来源: laya_api 发布时间: 20170929
...文本为斜体。 Label layoutEnabled : Boolean = true 是否启用相对布局 Component leading : Number 垂直行间距(以像素为单位)。 Label left : Number 从组件左边到其内容区域左边之间的水平距离(以像素为单位)。 Component mask : Sprite 遮罩,可...
来源: laya_api 发布时间: 20170929
...): void Inherited from UIGroup.direction Defined in laya/ui/UIGroup.ts:443 布局方向。 默认值为"horizontal"。 取值: "horizontal":表示水平布局。 "vertical":表示垂直布局。 Returns string Inherited from UIGroup.direction Defined in laya/ui/UIGroup.ts:447 布局方向。 ...
来源: Laya3.0_api 发布时间: 20231115
...路。你需要自行研究哦 另外:引擎fixedwidth+layoutEnabled布局(比如top/bottom对齐),按理来说,界面应该是能自动适应所有机型分辨率的。 底下的逻辑较复杂(设计到stage\canvas\camera viewport\screen等多个size的合作),我这个是3D,2D...
来源: Laya_社区 发布时间: 20180404
...,左边的按钮缩放不正常。 还有一个问题是,laya有没有布局组件。 比如类似cocos creator 的 layout组件。 2018-05-26 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Zane 相关问题 2.0一不小心删了...
来源: Laya_社区 发布时间: 20180525
... 3、按钮,九宫格按钮,自定义按钮,链接按钮 4、相对布局 5、容器,滚动条,可拖可回弹 6、其他单选、复选、进度条、滑块请笑纳 7、可能看普通组件没啥意思,我就用强大的羔羊引擎组合了一个excel意思意思 不要说手机不...
来源: Laya_社区 发布时间: 20170304
...面考虑一下要不要加开关,但box的宽高一般不会影响排版布局,您有什么旧版设置为0,0效果正常但新版效果不正常的示例吗,我们参考一下来修改 1617866298用户 • 2025-09-17 09:05 @LayaAir大为: 有的ui是自己写的,比如卡牌游戏手牌...
来源: Laya_社区 发布时间: 20250915