constinfo = newLabel(root); info.text = 'Shadow enum: Plain, Raised, Sunken. Used with Separator and other widgets.'; info.wordWrap = true; layout.addWidget(info);
// Shadow is an enum used by Separator to control visual depth constplainSep = newSeparator(Orientation.Horizontal, Shadow.Plain, root); layout.addWidget(plainSep); constplainLabel = newLabel(root); plainLabel.text = 'Shadow.Plain - flat, no depth effect'; layout.addWidget(plainLabel);
Enum specifying shadow effect style.
Example