borderExample
@
safe @
()
=> label("You can also add borders to nodes. Borders are defined by two properties, 'border' and 'borderStyle'. " ~ "The former is familiar, because it works exactly the same as margin and padding — you can adjust border " ~ "width separately for each side. The latter defines how exactly should the border be displayed. You can " ~ "easily create a simple colored border:"),
()
=> label("Note: It's not possible to change border width using state-based styles, like the ones you can " ~ "use on a button.") Frame
borderExample