Hello,
I created an app that looks perfect on my Droid X. I just tried it on a Samsung Galaxy SIII and everything looks tiny. I am using Widget Candy widgets and these lines of code are in one file:
-- THIS IS TO FIND OUT IF THE APP RUNS ON A TABLET OR A SMALL DISPLAY
-- IF WE HAVE A TABLET, SCALE DOWN THE GUI TO THE HALF, OTHERWISE THE
-- WIDGETS APPEAR TOO BIG. YOU CAN USE ANY SCALE, BUT .5 IS FINE HERE.
-- CHANGING THE SCALE OF A WIDGET DOES NOT CHANGE ITS WIDTH OR HEIGHT,
-- IT JUST SCALES THE WIDGET GRAPHICS USED (BORDERS, ICONS, TEXT ETC.)
local physicalW = math.round( (display.contentWidth - display.screenOriginX\*2) / display.contentScaleX)
local physicalH = math.round( (display.contentHeight - display.screenOriginY\*2) / display.contentScaleY)
--//TODO: might have to modify or comment these out
\_G.isTablet = false; if physicalW \>= 1024 or physicalH \>= 1024 then isTablet = true end
\_G.GUIScale = \_G.isTablet == true and .5 or 1.0
Should I comment those out or something else? I’m going to try commenting them out. I’ll let you know how it goes. [import]uid: 104085 topic_id: 33477 reply_id: 333477[/import]