0

如何将 Dojox 与整体主题一起使用?

当我在安卓设备上运行我的设备时,我的应用看起来完全不同。字体颜色在需要为黑色时为白色。(因为它使用 Android 的“Holodark”主题)。

如何将 Dojox 设置为仅使用常见的 Css?

4

1 回答 1

1

For Worklight V6, in your main HTML file, remove:

<script type="text/javascript" src="dojox/mobile/deviceTheme.js"></script>

and in its place put:

<link rel="stylesheet" href="dojox/mobile/themes/iphone/iphone.css">

(or pick one of the others as your fixed theme)

If you are on Worklight V5, you need to remove "dojox/mobile/deviceTheme" from the require() in your main javascript file, and add the css link above to the main HTML

于 2013-10-01T13:25:36.413 回答