Thanks Rob. I won’t be changing my config settings now though, it’s too much hassle at this point.
What would be nice is if there was a vector based - resolution independent solution like with widget.newButton(). I’ve used the shape construction method for creating widget buttons and that works well.
Well, anyway… has anyone made a widget image sheet or adaptation for the following config settings then?
local aspectRatio = display.pixelHeight / display.pixelWidth application = { content = { width = aspectRatio \> 1.5 and 800 or math.ceil( 1200 / aspectRatio ), height = aspectRatio \< 1.5 and 1200 or math.ceil( 800 \* aspectRatio ), scale = "letterBox", fps = 30, imageSuffix = { ["@2x"] = 1.3, }, } }
I think the psd is here :
https://github.com/coronalabs/framework-widget/blob/master/widget_assets/graphics/widget_theme_ios7%402x.psd
I’m just not sure what size to make the assets for texturePacker or how to rebuild the widget library appropriately. I guess the problem is that the width and height aren’t set values in the config.lua.