left | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | stack, card, field, button, graphic, scrollbar, player, image, group | ||||||
Summary | Specifies how far an object's left edge is from the left edge of the window or screen. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: control, integer, rectangle, card Constant: right Property: leftMargin, pixels, right, width, bottomLeft, xOffset, hotSpot, topLeft Command: group Object: stack Glossary: object, property, relative coordinates, absolute coordinates, error, negative, stack window | ||||||
Description | Use the left property to change the horizontal placement of a control or window. The left of a stack is in absolute (screen) coordinates(glossary). The left of a card is always zero; setting the left of a card does not cause a script error, but it has no effect. The left of a group or control is in relative (window) coordinates(glossary). Changing the left of an object shifts it to the new position without resizing it. To change an object's width, set its width or rectangle property. The width property of an object is equal to its right minus its left. | ||||||
Tags | ui |