ฉันกำลังสร้างแอปที่มีเมนูเลื่อนทางด้านซ้าย (ดู http://mobile.tutsplus.com/tutorials/appcelerator/titanium-mobile-create-a-sliding-menu-for-ios/) และฉันกำลังพยายามเพิ่มพื้นหลังให้กับแถว แต่ทุกครั้งที่ฉันลองและเริ่มโปรแกรมจำลอง พื้นหลังจะมองเห็นได้เพียงเล็กน้อยเท่านั้น เนื่องจากมีพื้นหลังสีขาวอยู่ด้านหลังชื่อแถว ด้วยเหตุผลบางประการ นี่คือรหัส:
var menuTitles = [
{title: 'Home', backgroundImage: "images/row_BG.png", id: 1},
{title: 'Vestigingen', height: 30, font:{fontSize: 14, fontWeight: "bold", fontFamily: "Helvetica"}},
{title: 'Han Fortmann', backgroundImage: "images/row_BG.png", leftImage: 'images/[email protected]', id: 2, font:{fontSize: 14, fontWeight: "normal", fontFamily: "Helvetica"}},
{title: 'Johannes B.', leftImage: 'images/[email protected]', id: 3, font:{fontSize: 14, fontWeight: "normal", fontFamily: "Helvetica"}}
];