This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 226
Expand file tree
/
Copy pathbottomLeft.lcdoc
More file actions
73 lines (53 loc) · 2.47 KB
/
bottomLeft.lcdoc
File metadata and controls
73 lines (53 loc) · 2.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Name: bottomLeft
Synonyms: botleft
Type: property
Syntax: set the bottomLeft of <object> to <left>, <bottom>
Summary:
Specifies the location of the specified <object|object's> lower left
corner.
Associations: stack, card, field, button, graphic, scrollbar, player,
image
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
set the bottomLeft of this stack to 400,250
Example:
set the bottomLeft of button myButton to 100,the bottom of button 1
Value:
The <bottomLeft> of an <object(glossary)> is any expression that
<evaluate|evaluates> to a <point> --two <integer|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(glossary)>. 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(glossary)>.
For cards, the <bottomLeft> <property> is <read-only> and cannot be set.
Description:
Use the <bottomLeft> <property> to change the placement of a <control>
or window.
The <bottomLeft> of a stack is in
<absolute coordinates(glossary)|absolute (screen) coordinates>.
The first <item> (the <left>) of a <card|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 coordinates(glossary)|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(glossary)> moves it to the new
position without resizing it. To change an <object|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.
References: left (constant), stacks (function), object (glossary),
property (glossary), stack window (glossary),
absolute coordinates (glossary), read-only (glossary),
relative coordinates (glossary), parameter (glossary), integer (glossary),
evaluate (glossary), card (keyword), item (keyword), rectangle (keyword),
point (keyword), control (keyword), card (object), topRight (property),
left (property), pixels (property), height (property), width (property),
bottom (property), properties (property)
Tags: ui