I have following code used to work alright,
local orderSwitch = widget.newSwitch { initialSwitchState = origState, onPress = onSwitchPress, onRelease = onSwitchPress, } orderSwitch.anchorX = 1 orderSwitch.anchorY = 0.5 orderSwitch.x = (display.contentWidth - display.screenOriginX) - 18
I am expecting it is placed at the right edge of the screen with 18 pixels space (which has no problem for months).
However, when it is built with recent Corona daily builds, the switch position is not positioned correctly (moved to the right and part of the switch is off-screen)
Could Corona identify this problem?