简体   繁体   English

如何使用明亮的脚本删除按钮中的项目符号文本?

[英]How to remove bullet text in button using bright script?

I added two Button in ROKU. 我在ROKU中添加了两个Button。 But I use Button tag in Roku But every time Set Bullet-in button text. 但是我在Roku中使用Button标记,但是每次设置Bullet-in按钮文本。 Is there any way to remove bullet text in Roku. 有什么办法可以删除Roku中的项目符号文本。

在此处输入图片说明

Button tag takes a default "iconUri". 按钮标记采用默认的“ iconUri”。 To remove the bullet, set "iconUri" field as empty or an image uri that does not exist. 要删除项目符号,请将“ iconUri”字段设置为空或不存在图像uri。

<Button id="button1" text="Button Name" iconUri="" />

OR 要么

<Button id="button1" text="Button Name" iconUri="PKG://S" />

OR (set the "iconUri" field in respective "brs" file) 或(在相应的“ brs”文件中设置“ iconUri”字段)

m.button1 = m.top.findnode("button1")
m.button1.iconUri = ""

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM