initialOrientation | |
Type | property |
Dictionary | library.responsivelayout |
Library | ResponsiveLayout |
Syntax |
|
Associations | com.livecode.library.responsivelayout, card |
Summary | Sets the orientation the card layout will have when opened. |
Example |
|
Description | Use the initialOrientation property to define the orientation a card will have when it is opened. It can take one of the following values, "portrait" or "landscape". The default value is portrait - Behavior in the desktop: This property has no effect for desktop applications. However if you are in the IDE and set this property to "portrait" or "landscape" and the environment to mobile or tablet. The library simulates the orientation change, setting the smallest side as width and the largest as height for an initial "portrait" orientation. Doing the opposite for an initial "landscape" orientation. - Behavior in the mobile: Force orientation change with "portrait" or "landscape". |