scaleFactor | ||||||||||
Type | property | |||||||||
Dictionary | LCS | |||||||||
Library | LiveCode Script | |||||||||
Syntax |
| |||||||||
Summary | Determines the custom scale factor for a stack. | |||||||||
Introduced | 6.6 | |||||||||
OS | mac, windows, linux | |||||||||
Platforms | desktop | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Values |
| |||||||||
Related | Command: iphoneUseDeviceResolution Property: usePixelScaling, systemPixelScale | |||||||||
Description | Use the scaleFactor property when developing to scale down stacks that are larger than the available screen space. We do not recommend setting the scaleFactor property above 2. The higher the value, the more pixels must be rendered. For example, setting the scaleFactor property to 10 will cause 100 times the number of pixels to be rendered causing the IDE to run slowly. Note: The scaleFactor is not a persistent property of the stack when building a standalone. To have scaleFactor applied to a standalone upon opening, it must be coded in a preOpenStack handler. For example:
| |||||||||
Tags | windowing |