Use advanced JSON when a typed field is absent
Some element types expose a dedicated Border Width field, while an ordinary Button or Panel may not show that same typed control in Visual Style. The supported authored borderWidth property can still be edited in Raw JSON.
1. Select the intended element and open Raw JSON (Advanced).
2. Keep the full existing element object. Find borderWidth; change it to 2, or add it as a correctly comma-separated property.
3. Find the radius and corner properties if you are adjusting those at the same time.
4. Click Validate and Apply Element JSON (Advanced).
5. Check the visible border, then Save Project.
These lines are an excerpt to merge into the existing object, not a replacement for the whole element:
"borderWidth": 2,
"radius": 16,
"radiusTopLeft": 24,
"radiusTopRight": 4,
"radiusBottomRight": 24,
"radiusBottomLeft": 4JSON uses double quotes around keys and strings. Numeric values are not quoted. Separate properties with commas and avoid a trailing comma after the last property in an object.
Do not replace the entire element with the excerpt. Its ID, type, position, size, content and events must remain. Save a project copy before large raw edits.
