如何在LWUIT框架中使用CSS?

发布于 2024-10-20 22:17:58 字数 48 浏览 6 评论 0原文

我需要在 LWUIT 组件中使用 css。是否可以?如果可能的话请告诉我如何使用?

I need to use css in LWUIT components. Is it possible? If its possible means tell me how we can use?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

剧终人散尽 2024-10-27 22:17:58

您可以在 html 组件中添加完整的 html。 CSS 需要存在于 html 文件中。在 html 组件中设置正文后,lwuit 会呈现它支持的一些样式表。

You can add the complete html in html component. The CSS needs to be there in html file. After setting the body text in html component lwuit renders some of the style sheets which it supports.

堇色安年 2024-10-27 22:17:58

我们无法为所有 LWUIT 组件添加 CSS。只有 HTML 组件允许在 LWUIT 中使用 CSS。如需了解更多信息,请参阅此链接

We can't add the CSS for all LWUIT components. Only HTML components allows CSS in LWUIT. For more info see this link.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文