let text = |
#size: &[f64, null] = &null,
#color: &[Color, null] = &null,
#font: &[Font, null] = &null,
#width: &Length = &`Shrink,
#height: &Length = &`Shrink,
#halign: &HAlign = &`Left,
#valign: &VAlign = &`Top,
content: &string
| -> Widget `Text({ content, size, color, font, width, height, halign, valign })