Acknowledged

Glance drawtext alignment bug in simulator for fenix 7/7 pro

When running the simulator with sdk 7.2.1 and the latest emulation device,  the following code does not align in the vertical center in the simulator in the glance view (it shows at the top)

        dc.drawText(dc.getWidth()*0.5,dc.getHeight()*0.5, Graphics.FONT_TINY, "Test", Graphics.TEXT_JUSTIFY_CENTER | Graphics.TEXT_JUSTIFY_VCENTER);

However it works fine on the device itself. This worked fine in the simulator with 7.1.1. This is also works fine on the venu simulator and fenix 7S/7X and seems to be only be impacting fenix 7/7pro

Playing with the value of the y location in the simulator, it seems that the dc size is about twice as tall as what it should be in realtion to how the icon is drawn since putting zero shows half the text as expected except that this is way above the icon.

  • I think the problem here is actually that the icon on the left is not drawn in the center of the height of the glance. It's drawn at the very bottom. The actual glance draw space is performing correctly and on device the icon is drawn in the correct position so in relation to the text it appears correct there.