1
中給出的那樣工作我想在文本按鈕上顯示圖標。我正在使用下面的代碼。Titanium.UI.Button屬性圖像不能像文檔
var refreshButton = Titanium.UI.createButton({
image :'refresh.jpg',
top : 0,
height : 100,
left : width,
width : width,
title : 'Refresh'
})
from appcelerator api doc。
形象:圖像按鈕上顯示的標題
但像和backgroundImage
工作我缺少的東西左邊?
我也面臨着同樣的問題。我在Titanium.UI.Button上爲'image'找到了兩個不同的文檔。 [鏈接1](http://developer.appcelerator.com/apidoc/mobile/1.0/Titanium.UI.Button)和[鏈接2](http://developer.appcelerator.com/apidoc/mobile/latest/Titanium .UI.Button對象) – Bongs 2012-05-16 11:26:22