The simulator returns 69 and the device returns 71 for the top field.
The simulator returns 74 and the device returns 76 for the middle 2 fields.
Here's the sample code that demonstrates the problem.
using Toybox.Application as App;
using Toybox.Graphics as Gfx;
using Toybox.Lang as Lang;
using Toybox.System as Sys;
using Toybox.WatchUi as Ui;
class MyView extends Ui.DataField
{
function initialize() {
DataField.initialize();
}
function onUpdate(dc) {
var color = getBackgroundColor();
dc.setColor(color, color);
dc.clear();
var dx = dc.getWidth();
var dy = dc.getHeight();
dc.setColor(~color & 0xffffff, Gfx.COLOR_TRANSPARENT);
dc.drawText(dx / 2, dy / 2, Gfx.FONT_SMALL,
Lang.format("$1$x$2$", [ dx, dy ]),
Gfx.TEXT_JUSTIFY_CENTER | Gfx.TEXT_JUSTIFY_VCENTER);
}
}
class App extends App.AppBase
{
function initialize() {
AppBase.initialize();
}
function getInitialView() {
return [ new MyView() ];
}
}