Acknowledged

Bitmap scaleX/scaleY doesn't work with Connect IQ 6.3.0 SDK

I set a png as bitmap in the drawables.xml like this with scaleX="X%" and scaleY="X%"
While these arguments work in SDK 6.2.0 and lower they do not work any longer with SDK 6.3.0:

    <bitmap id="testpix" filename="../../resources/drawables/test.png" dithering="none" scaleX="9.82%" scaleY="9.82%">
        <palette disableTransparency="false">
            <color>FFFFFF</color>
        </palette>
     </bitmap>

The bitmap is shown in a fixed small size no matter what I set in scaleX / scaleY. This happens in the simulator and on a real device.

In code, the file is loaded like this:

var test = WatchUi.loadResource(Rez.Drawables.testpix);

And drawn like this:

dc.drawBitmap(dx, dy, test);

Let me know if you need more information

Parents
  • Which device were you seeing this issue on? I have been in the process of attempting to replicate, but I have a feeling this may be related to a specific device. I have attempted on a Fenix 7 device and I am not seeing any issues with bitmap scaling.

Comment
  • Which device were you seeing this issue on? I have been in the process of attempting to replicate, but I have a feeling this may be related to a specific device. I have attempted on a Fenix 7 device and I am not seeing any issues with bitmap scaling.

Children
No Data