Lab Session: Screen size and rotation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
# Open LabRotation.nsx. | # Open LabRotation.nsx. | ||
# ... | # Remove the orientation control you added previously, as we'll be handling orientation changes for ourselves (at least for ''frmSavedData'') | ||
# Add an onorientation event to ''frmSavedData'' and verify you can sense orientation changes. | |||
# The layout of ''frmSavedData'' will look better as two columns when in landscape mode. Change the top and left values of the 3 lower data labels and values so that they sit beside the top three when orientation is in landscape mode. |
Revision as of 22:15, 13 December 2013
In this lab, you'll make changes to frmSavedData to make it rotate and resize properly in order to gain experience with these technologies.
Student Outline
- Open LabRotation.nsx.
- Remove the orientation control you added previously, as we'll be handling orientation changes for ourselves (at least for frmSavedData)
- Add an onorientation event to frmSavedData and verify you can sense orientation changes.
- The layout of frmSavedData will look better as two columns when in landscape mode. Change the top and left values of the 3 lower data labels and values so that they sit beside the top three when orientation is in landscape mode.