changeLayoutOrientation | ||||||||||
Type | command | |||||||||
Dictionary | library.responsivelayout | |||||||||
Library | ResponsiveLayout | |||||||||
Syntax |
| |||||||||
Associations | com.livecode.library.responsivelayout | |||||||||
Summary | Change the orientation of the current card layout. | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Description | Use the changeLayoutOrientation command to change the orientation of the current card layout. This command will only change the orientation if the environment is not desktop. If you are on a mobile device, it will change the orientation of the entire interface. In the IDE, what this command will do is invert the stack size. Putting the smallest side as width and the largest as height, for portrait orientation. Doing the opposite of the latter for landscape orientation. |