I’m attempting to add a custom idle window image. This image would override the default image defined in the extension settings.
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?
var imgWidget = new Image("app", "SonusPhoneLogoTest.png", 0, 0, 205,51); digium.app.idleWindow.add(imgWidget);
var imgWidget = new Image("app", "SonusPhoneLogoTest.png", 0, 0, 105,0); digium.app.idleWindow.add(imgWidget);