gridSize | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Specifies the size of squares in the drag grid. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: integer, point, top Constant: left Property: height, centered, width, grid Glossary: object, property | ||||||
Description | Use the gridSize property to align objects in a coarse or fine grid. If the grid property is set to true, any object the user moves or resizes is moved or resized to the nearest point on the grid. If the object is moved, its top and left are multiples of the gridSize. If the object is resized, its height and width are multiples of the gridSize. If the grid is false, the setting of the gridSize property has no effect. |