iPad application landscape problem ..

I am createing one ipad application.

when it’s in portrait it show full image but in landscape left or landscape right images is not propre display.

my code like this :

if isDeviceLandscape( system.orientation ) then
local tmp = self.screenW
self.screenW = self.screenH
self.screenH = tmp
end

so what i’ll do for that ? [import]uid: 11428 topic_id: 4584 reply_id: 304584[/import]