Hello,
I'm new to Connect IQ development and was testing a Menu2 implementation. I noticed two big differences between the simulator and my physical fenix 5X (Running the latest firmware: 19.10).
Issue one:
On a physical fenix 5X, the text labels for IconMenuItem are either left aligned or right aligned (depending on the option), but never center aligned. On the simulator, the labels are always center aligned, and only the icon alignment is set left or right depending on the supplied option. I'm not sure what the expected behavior should be, as the API states the alignment option represents label alignment. However there's no option for center alignment. ToggleMenuItems have the same left/right alignment option, and it only affects the alignment of the toggle box.
Screenshot of physical fenix 5X:
Screenshot of fenix 5X simulator:
Notice on the physical device, Item 1 and Item 3 appear centered. Their text will shift left or right after you move to them, but never centered. Again, ToggleMenuItems do not behave this way.
Issue two:
This is probably related to issue one, but notice on my physical device, there's a few pixels cut off on the right side of that circle, but not cut off on the simulator. here's my draw routine for the icon item:
function draw(dc) { dc.setColor(Graphics.COLOR_BLACK, Graphics.COLOR_TRANSPARENT); dc.drawCircle(dc.getWidth() / 2, dc.getHeight() / 2, (dc.getWidth() / 2)); }
It's pretty simple. there shouldn't be any pixels cut off.