I'm using a PNG image at 205x51 pixels. If I set this image as the default phone background under admin settings, the image displays correctly.
If I attempt to add this same image to the app idle window, it doesn't fit. I've tried multiple different ways to define the correct image dimensions, but nothing works, the image will always be cropped.
Is there something that could be causing this that is not defined in the Phone API Wiki?
Also, why would specifying image dimensions NOT work when adding the image to the app Idle window? Both of the snippets below produce the exact same result. Why does setting image properties have no actual bearing on the image?
- Code: Select all
var imgWidget = new Image("app", "SonusPhoneLogoTest.png", 0, 0, 205,51);
digium.app.idleWindow.add(imgWidget);
- Code: Select all
var imgWidget = new Image("app", "SonusPhoneLogoTest.png", 0, 0, 105,0);
digium.app.idleWindow.add(imgWidget);