qooxdoo item.setImage在更新到3.5后失败

时间:2014-02-26 15:33:43

标签: qooxdoo

qooxdoo 3.5更改了qx.ui.mobile.basic.Image #_applySource。 resourceManager.getImageWidth(source)返回0,因为我的源不在qooxdoo源文件夹中。 任何其他解决方案,而不是将文件移动到qooxdoo源文件夹?

//I'm using following inside qx.ui.mobile.list.List configureItem.
//../repository/myApp/resources is not the resourceUri as set in LibraryManager.
item.setImage("../repository/myApp/resources/Ellen.png").

1 个答案:

答案 0 :(得分:1)

此错误已在branch_3_5_x

中修复

您可以通过替换qx.Mobile图像文件的内容来修补本地框架内的固定版本:

https://github.com/qooxdoo/qooxdoo/blob/branch_3_5_x/framework/source/class/qx/ui/mobile/basic/Image.js