IBM Worklight 6.0 - WL.BusyIndicator是否支持iOS的文本换行? [英] IBM Worklight 6.0 - Does WL.BusyIndicator support text wrapping for iOS?
本文介绍了IBM Worklight 6.0 - WL.BusyIndicator是否支持iOS的文本换行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
附件是我们为iOS上的忙碌指示器实现的代码。但这并没有将busyText包装在iOS上。
Attached is the code for we have implemented for the busy indicator on iOS. But this does not wrap the busyText on iOS.
$.r.setBusyIndicator(new WL.BusyIndicator('content', {
opacity : 0.65,
fullScreen : false,
text : busyText
}));
推荐答案
包装不可用。
您可以完全使用其他忙碌指示符:您本地繁忙的实现,或第三方库(jQuery Mobile,...)提供的指示器等。
You can use a different busy indicator altogether: a native busy implementation by you, or an indicator provided by a 3rd party library (jQuery Mobile, ...), etc.
否则,您需要使用 boxLength
属性来控制占用广场的繁忙广场的高度和宽度。文本,如下所示:
Otherwise, you need to use the boxLength
property which controls the height and width of the busy square holding the text, like this:
var busy = new WL.BusyIndicator(null, {
text: "Ouverture de session",
boxLength: 170 // Play with this value.
});
busy.show();
相关问题: IBM Worklight 6.1 - 如何自定义WL.BusyIndicator的高度和宽度?
这篇关于IBM Worklight 6.0 - WL.BusyIndicator是否支持iOS的文本换行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文