[Touch HD Themes and Apps] mwalt2:
It is probably easier for you to make the final adjustments and get it aligned correctly. I'll try to explain how to change the position as best as I can.

5c9aa261_manila is the mode9 file that contains the references to the panorama script and background files use. "panoramaBkg" is the un-pressed image. The PosY value controls the y-axis of the panoramic images. Decreasing the value moves it down, while increasing moves it up.

"panoramaBkg2" is the pressed image. The PosY value works the same as "panoramaBkg" to move the image, but they do not line up if the same numbers are used because of other PosY values above the panoramaBkg2 PosY value (at least that's what I think). You can move either "panoramaBkg" or "panoramaBkg2" to get them to line up correctly. If pressed image does not seem to fill the screen (ie there is a blank spot at the top), adjust "panoramaBkg" so that it appropriately (ie move it up). The same goes for the pressed image if it appears off.

3941bc49_manila is the panoramic script. 3941bc49_manila.lua is the decompiled script that you can edit with a text editor. The code below contains the information for portrait or landscape modes. If you are only going to use portrait mode, you can delete the entire text shown below to make it simpler.

if _application.Orientation == ScreenOrientation_Portrait then
Panosize = 696
panoramaBkg2.Position.y = 80
else
Panosize = 376
panoramaBkg2.Position.y = 82
end

If you would like to use landscape, you will need to adjust the line "panoramaBkg2.Position.y = 82" to get the pressed image lined up with the un-pressed image. Also, if you make a PosY change to "panoramaBkg2" in the mode9 file (5c9aa261_manila), you will need to input the same value in the "panoramaBkg2.Position.y = 80" line. The panosize is the size of the 512x512 picture you use to create panoramic image. It is 696 for portrait (800 - 52 - 52 = 696). The taskbars are each 52 pixels and your wvga screen is 800 pixels. For landscape, it reduces to 376 (480 - 52 - 52 = 376).

The code below just controls the size and x-position of the 6 images used for the panoramic images (3 for pressed, 3 for un-pressed). You do not need to change anything.

panoramaBkg.Position.y = Panosize
BackGround1.Size.width = Panosize
BackGround2.Size.width = Panosize
BackGround2.Position.x = Panosize
BackGround3.Size.width = Panosize
BackGround3.Position.x = Panosize * 2
BackGround4.Size.width = Panosize
BackGround5.Size.width = Panosize
BackGround5.Position.x = Panosize
BackGround6.Size.width = Panosize
BackGround6.Position.x = Panosize * 2
BackGround1.Size.height = Panosize
BackGround2.Size.height = Panosize
BackGround3.Size.height = Panosize
BackGround4.Size.height = Panosize
BackGround5.Size.height = Panosize
BackGround6.Size.height = Panosize

The code below controls the width of the panoramic image (so that it adjusts to the number of tabs you have present).

T = screenWidth - sliderWidth
PanoWidth = Panosize * 3 - 5
panoramaBkg2.Opacity.value = 100
panoramaBkg.Position.x = math.floor((selector.Position.x - correction) * (- (PanoWidth - screenWidth) / T))
panoramaBkg2.Position.x = math.floor((selector.Position.x - correction) * (- (PanoWidth - screenWidth) / T))

The "PanoWidth = Panosize * 3 - 5" line controls how far the image stretches to the right. This should just be 3 * the panoramic size used (696 pixels for portrait). However, it does not always display as the numbers should. If you see any black space on the far right edge of your panoramic image (on last tf3d tab), you can move the image to the right by making the "PanoWidth" value smaller (by subtracting 5 in this case). If it looks like your panoramic image is getting cut off on the last tf3d tab, you just need to make the "PanoWidth" value larger.

Those are the main portions of the script and mode9 file. The only things needed to adjust PosY are below "panoramaBkg" or "panoramaBkg2". If you change "panoramaBkg2", make sure to change the corresponding value in 3941bc49_manila.lua. To change X position, just adjust the "PanoWidth" line in 3941bc49_manila.lua.

After you've edited 3941bc49_manila.lua, use m9editor to compile and import the actual manila script (3941bc49_manila). Then just copy to your device and test the new values.