The current trend is for light, clean, soft colors and rounded corners.
For you to embellish your applications and follow the latest trends, we have added the possibility to round the corners of static texts and input texts.
New attribute
A new attribute, “Corner radius,” is available for static text and input objects. Specifying the value via the UI (the property list), CSS, or command is possible. You can define a rounding for these borders: none, plain, and dotted.
Via the property list
The new property is in the “Coordinates & Sizing” theme.
The “Corner Radius” is displayed if the “Border Style” is Plain, Dotted, or None.
Via Code
The OBJECT GET CORNER RADIUS command allows you to retrieve the rounding defined for an object. With the command OBJECT SET CORNER RADIUS, you can set the rounding.
// Getter
$radius:=OBJECT Get corner radius(*; "Object")
// Setter
OBJECT SET CORNER RADIUS(*; "Object"; $radius)
Via CSS
The name of the CSS attribute is borderRadius. Here is an example of a CSS class:
.radius { borderRadius: 5; }
Next
For more information, you can check out the documentation.