2012-01-02 3 views
0
var imageDisplayed = Ti.UI.createImageView({ 
    image : somefile.png, 
    height:'100', 
    width:'100' 
}); 

위의 코드에서 이미지를 만들었습니다. 이제 초기 생성 후 이미지 크기를 어떻게 변경합니까?작성한 후 이미지의 크기 수정

답변

0

이 같은 이미지 뷰의 속성을 변경할 수 있습니다

imageDisplayed.height = 120; 
imageDisplayed.width = 120; 
관련 문제