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

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

1. button label 点击颜色 [ 100%]

button label 点击颜色 button  属性 label 上  可以设置字体颜色  点击button 字体 会变成绿色 可以控制点击后的颜色吗?   附件 : --> 2017-08-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

2. Button之类控件中的Label能否支持调整位置? [ 94%]

Button之类控件中的Label能否支持调整位置? 很多类型的按钮中的文本,并不一定在居中或者默认位置。 比较方便的做法是Button或者Radio之类的空间的label能够支持编辑它们的位置~ 2018-01-15 添加评论 免费帖 --> 分享 微博 QZONE 微信...

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

3. ui组件tab如何设置字体[ 92%]

...017-03-17 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 你可以把button转换为tab组件,然后给你的button设置字体就行了! 2017-03-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 xiaob...

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

4. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 91%]

...= styleObj[key]; } } } /** * 给按钮上文本样式赋值 * @param {Laya.Button} button * @param {ITextFormat} styleObj */ assignButtonFontStyle(button: Laya.Button, style: string | ITextFormat): void { let keyMap: Object = { bold: "labelBold", color: "labelColors", font: "labelFont", fontSize: "l...

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

5. 按钮组件 · LayaAir3.0文档 · LAYABOX [ 87%]

按钮组件(Button)1、LayaAir IDE中使用Button组件1.1 创建Button组件1.2 Button属性1.3 脚本控制Button2、Button代码创建按钮组件(Button) 1、LayaAir IDE中使用Button组件 按钮(Button)组件是最常用的组件之一,可以显示文本标签、图标或者...

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

6. 单选框组件 · LayaAir3.0文档 · LAYABOX [ 87%]

...、通过代码创建Radio组件单选框组件(Radio) Radio继承自Button,它的很多属性也继承自Button,所以前面Button中介绍过的这里就不再过多讲述。Radio的详细用法可以参考Radio API。 一、通过LayaAir IDE创建Radio组件 1.1 创建Radio 使用LayaAir ...

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

7. laya.ui.Button_API3.0 [ 80%]

...blic/Protected All Inherited Externals Only exported Menu Globals "laya/ui/Button" Button Class Button Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 * 可以是单态,两态和三态,默认三态(up,over,down)。 example 以...

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

8. laya.ui.CheckBox_API3.0 [ 80%]

...出选中状态: checkBox.selected = " + checkBox.selected); } } Hierarchy Button CheckBox Implements ISelect Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWi...

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

9. laya.ui.Button [ 79%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames ButtonProperties | Methods | Events Packagelaya.uiClasspublic class ButtonInheritanceButton Component Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态...

来源: laya_api 发布时间: 20170929

10. laya.ui.Radio_API3.0 [ 79%]

...该组中当前所选的 Radio 控件。 see laya.ui.RadioGroup Hierarchy Button Radio Implements ISelect Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthS...

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