Skip to main content

Label

Drawing strip: Text. Type in the page file: label. 54 properties.

Common groups: General, Position, Transform, Animation, Shadow, Glow; see Common properties.

Size​

PropertyFieldValuesDefaultBindableNotes
ResizeautoSizeOn / offOff—Locked when another setting requires a value
WidthwidthNumber120YesShown when Resize is on
HeightheightNumber40YesShown when Resize is on
Fit TextfitNone, Shrink to fit the boxNone—Shown when Resize is on
Line wrapwrapWrap at words, Single lineSingle line—Shown when Resize is on
OverflowoverflowClip at box, Overflow the box——Shown when Resize is on

Content​

PropertyFieldValuesDefaultBindableNotes
TexttextTextLabelYes
Number format (printf)formatText—Yes

Refresh​

PropertyFieldValuesDefaultBindableNotes
Refresh (ms, 0 = instant)refreshMsNumber0Yes

Font​

PropertyFieldValuesDefaultBindableNotes
Font FamilyfontFamilyFont——
Font SizefontSizeNumber16Yes
WidthfontWeightnormal, boldnormal—
StylefontStylenormal, italicnormal—
Text DecorationtextDecorationnone, underline, line-through, underline line-throughnone—
Text ColorcolorColor#1f2937Yes
Highlight ColorhighlightColorColor—Yes
Horizontal AligntextAlignleft, center, right, justifyleft—
Vertical AlignverticalAligntop, middle, bottom——
Line SpacinglineHeightNumber—Yes

Padding​

PropertyFieldValuesDefaultBindableNotes
Padding (all)paddingNumber—YesDistance of the text from the box edge (px); empty = 4
LeftpaddingLeftNumber—YesDistance of the text from the box edge (px); empty = 4
RightpaddingRightNumber—YesDistance of the text from the box edge (px); empty = 4
ToppaddingTopNumber—YesDistance of the text from the box edge (px); empty = 4
BottompaddingBottomNumber—YesDistance of the text from the box edge (px); empty = 4

Appearance​

PropertyFieldValuesDefaultBindableNotes
BackgroundbackgroundColorColortransparentYes
Fill StylebackgroundFillStylesolid, linear-gradient, radial-gradientsolid—
GradientbackgroundFillStopsGradient stops——Shown when Fill Style is linear-gradient or radial-gradient
Corner RadiusborderRadiusNumber0Yes
Border WidthborderWidthNumber0Yes
Border ColorborderColorColor#000000Yes