Hello - you’ll need to take a couple of extra steps -
Set the BoxEdit control to use the current CPlane and not the World.
Set a CPlane to the object - the easiest way, since this is an extrusion, is probably to set the Gumball to align by object (Gumball context menu) and then set the CPlane the the Gumball. (CPlane command > Gumball)
BoxEdit will show a Cplane aligned dimensions - you may need to unselect and re-select the object for that to update, I see a possible glitch there.