bottomLeft

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the bottomLeft of <object> to <left>, <bottom>
Synonymsbotleft
Associationsstack, card, field, button, graphic, scrollbar, player, image
Summary

Specifies the location of the specified object's lower left corner.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the bottomLeft of this stack to 400,250
set the bottomLeft of button myButton to 100,the bottom of button 1
Values
NameTypeDescription
Value

The bottomLeft of an object is any expression that evaluates to a point --two integers separated by a comma. The first item of the bottomLeft is the distance in pixels from the left edge of the screen (for stacks) or card to the left edge of the object. The second item is the distance in pixels from the top edge of the screen (for stacks) or card to the bottom edge of the object.

For cards, the bottomLeft property is read-only and cannot be set.

RelatedKeyword: card, item, rectangle, point, control
Constant: left
Property: topRight, left, pixels, height, width, bottom, properties
Function: stacks
Glossary: object, property, stack window, absolute coordinates, read-only, relative coordinates, parameter, integer, evaluate
Object: card
Description

Use the bottomLeft property to change the placement of a control or window.

The bottomLeft of a stack is in absolute (screen) coordinates. The first item (the left) of a card's bottomLeft property is always zero; the second item (the bottom) is always the height of the stack window. The bottomLeft of a group or control is in relative (window) coordinates.

In window coordinates, the point 0,0 is at the top left of the stack window. In screen coordinates, the point 0,0 is at the top left of the screen.

Changing the bottomLeft of an object moves it to the new position without resizing it. To change an object's size, set its height, width, or rectangle properties.

Important: The order of the bottom and left parameter|parameters is reversed compared to the property name: left comes first, then bottom.

Tagsui