Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1792] @2x assets not loaded when using full path - iphone 4 sdk 1.4

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:57:11.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.6.0 M07
ComponentsiOS
Labelsdefect, hires, images, ios, iphone, release-1.6.0
Reporterctredway
AssigneeBlain Hamon
Created2011-04-15T03:02:31.000+0000
Updated2011-04-17T01:57:11.000+0000

Description

The code below shows the behavior

var win = Titanium.UI.createWindow();
win.backgroundColor = 'white';

// this one will load @2x version var img = Ti.UI.createImageView({top: 10, image: 'image.png', width:300, height: 300});
win.add(img)

// this one will not var img2 = Ti.UI.createImageView({bottom: 10, image: Titanium.Filesystem.resourcesDirectory+ '/image.png', width:300, height:300});
win.add(img2)

win.open();

Comments

  1. Blain Hamon 2011-04-15

    Do-si-do with your partner, swap bugs for best results.

  2. Blain Hamon 2011-04-15

    Hunh. Couldn't recreate the bug. Since it's been a while since this bug was filed, it's likely it was fixed as a side effect of another bug.

  3. Ralf Pfeiffer 2011-04-15

    Created a test in Integrity. Resolving Defect.

JSON Source