Problem On/Off Switch size deformed

Hello , i having a problem using the  On/Off Switch 

The Switch in phone are deformed as you can see in the image . 

What i can do?

Have a nice day

local function onSwitchPress( event ) local switch = event.target end local onOffSwitch = widget.newSwitch { left = 100, top = 240, style = "onOff", id = "onOffSwitch", onPress = onSwitchPress }

Hi @simaodacat,

This is probably because of the way you’ve set up your content area. Can you post that section from your “config.lua” file?

Thanks,

Brent

application = { content = { width = 320, height = 480, scale = "zoomStretch", fps = 60, showRuntimeErrors = true, }, }

This is my config.lua

It’s the zoomStretch.  Can you try zoomEven?

Rob

Hi Rob didnt work =/

Hi @simaodacat,

One more option: try setting the “scale” to “letterbox” and report back what happens.

Thanks,

Brent

Stay the same for me =/

What happens when you try and run the widget demo sample app?

Also are you loading a widget theme?

Hi @simaodacat,

This is probably because of the way you’ve set up your content area. Can you post that section from your “config.lua” file?

Thanks,

Brent

application = { content = { width = 320, height = 480, scale = "zoomStretch", fps = 60, showRuntimeErrors = true, }, }

This is my config.lua

It’s the zoomStretch.  Can you try zoomEven?

Rob

Hi Rob didnt work =/

Hi @simaodacat,

One more option: try setting the “scale” to “letterbox” and report back what happens.

Thanks,

Brent

Stay the same for me =/

What happens when you try and run the widget demo sample app?

Also are you loading a widget theme?