label widget#
<label>#
A simple text element#
Parameters#
text: string
Simple text
translation: string
Translated by key
size: float (default: 14)
Text size in pixel units
wrap: “1” | “0” (default: “0”)
Enable text wrapping?
color: #FFAABB | #FFAABBCC
align: “left” | “right” | “center” | “justified” | “end”
weight: “normal” | “bold”
shadow: #112233 | #112233CC (default: None)
shadow_x: float (default: 1.5)
Horizontal offset of the shadow from the original text. Positive is right.
shadow_y: float (default: 1.5)
Vertical offset of the shadow from the original text. Positive is down.