Border Radius (BorderRadius)
The BorderRadius property causes the border of the area frame or entity to have rounded corners. The degree of rounding is determined by the value of the property.
"
BorderRadius=
Numberpx
"
Example: "BorderRadius=20px"
Value | Description |
---|---|
0
|
Border has square corners |
Xpx
|
Value from |
Usage
Dynamic? | Yes for entities, No for area frames |
Supported in Grid? | No |
Dependencies: | BorderRadius is
applicable only if
BorderType is flat . |
Description
Note: When applying rounded corners, be aware that widgets, labels, and images within the area frame or entity that are positioned at the edge of the frame will override the corner rounding.
Setting in ProcScript
For the entity widget, this property can be set in ProcScript using the $entityProperties or $curEntProperties commands.
putitem/id vProperties,"BorderType","flat" putitem/id vProperties,"BorderColor","purple" putitem/id vProperties,"BorderRadius","20px" $entityproperties(ORDER.SALES)=vProperties
Setting in Initialization File
For area frames, it is only possible to set this property in the initialization file.
[areaframes] frame_round=uframe(bordertype=flat;borderradius=15px)