You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dictionary/property/formattedHeight.lcdoc
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,9 @@ If you specify an image or player, the <formattedHeight> <property> reports the
34
34
35
35
If you specify an object in a group, the value reported is the <formattedHeight> that <object> requires for the <current card>, so if you want to get the <formattedHeight> of a <field(object)|field's> text on a certain <card>, you must go to that <card> first.
36
36
37
-
The <formattedHeight> of a <chunk> in a <field(keyword)> is the amount of vertical space that portion of the <field(object)|field's> text requires, taking line breaks into account.
37
+
The <formattedHeight> of a <field(keyword)> is the amount of vertical space the <field(object)|field's> text requires, taking line breaks into account and including top and bottom margins.
38
+
39
+
The <formattedHeight> of a <chunk> in a <field(keyword)> is the amount of vertical space that portion of the <field(object)|field's> text requires, taking line breaks into account but disregarding margins.
38
40
39
41
References: formattedTop (property), visible (property), thumbSize (property), fixedLineHeight (property), margins (property), integer (keyword), image (keyword), field (keyword), card (keyword), revChangeWindowSize (command), group (command), textHeightSum (function), stack (object), object (object), field (object), property (glossary), handler (glossary), current card (glossary), chunk (glossary)
0 commit comments