无法确定位图边界。如果加载了位图,则不会缩放位图

时间:2013-01-08 07:14:15

标签: titanium titanium-mobile titanium-modules

嗨,当我从一个窗口移动到另一个窗口并返回到第一个窗口时,我会遇到钛的错误。 第一个窗口包含一个png图像。想知道如何删除这个错误thx。

代码:

var noteview = Ti.UI.createImageView({
        image : 'TaskNote.png',
        width : '10%',
        left : '70%',
        height:'70%',
        labelname:'Note'

    });

noteview.addEventListener('click', function(e) {

    var tasknotewindow = Ti.UI.createWindow({
        backgroundColor : 'white',
        layout : 'vertical',
        url : 'TimeTracker/tasknote.js'

    });

   tasknotewindow.starttime=inlabel.text;

    tasknotewindow.open();


});

错误:

  

01-08 12:37:42.111:W / TiDrawableReference(501):(主要)[295,31932]   无法确定位图边界。如果加载了位图,则不会   缩放。

0 个答案:

没有答案