4D Blog

Home Product Say Hello to Rounded Corners

Say Hello to Rounded Corners

October 19, 2022

Product

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.

Rounded Corner in Action 

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. 

blank

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.

Discuss

Tags Form object, Programming, UI, v19 R7, v20

Latest related posts

  • February 3, 2026

    4D Write Pro – Adding a margin automatically when bullets are set using standard actions

  • January 22, 2026

    Transform Static Documents into Actionable Knowledge with AIKit

  • January 22, 2026

    Deploy Fluent UI effortlessly in your 4D applications

Vanessa Talbot
Vanessa Talbot
• Product Owner •Vanessa Talbot joined 4D Program team in June, 2014. As a Product Owner, she is in charge of writing the user stories then translating it to functional specifications. Her role is also to make sure that the feature implementation delivered is meeting the customer need.Since her arrival, she has worked to define key features in 4D. She has worked on most of preemptive multi-threading new features and also on a very complex subject: the new architecture for engined application. Vanessa has a degree from Telecom Saint-Etienne. She began her career at the Criminal Research Institute as a developer for the audiovisual department. She has also worked in media and medical fields as expert in technical support, production as well as documenting new features.
  • Deutsch
  • Français
  • English
  • Português
  • Čeština
  • Español
  • Italiano
  • 日本語

Categories

Browse categories

  • AI
  • Release infos
  • 4D View Pro
  • 4D Write Pro
  • Email, Microsoft 365, Gmail
  • Development Mode
  • 4D Language
  • ORDA
  • User Interface / GUI
  • 4D Qodly Pro
  • Server
  • Maintenance
  • Deployment
  • 4D Tutorials
  • Generic
  • 4D Summit sessions and other online videos

Tags

4D-Analyzer 4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 21 21 R2 Administration AI Artificial Intelligence Build application Class Client/Server Code editor Collections Compatibility settings Formula Google Listbox Logs Mail Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience vscode Web Word processor

Tags

4D-Analyzer 4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 21 21 R2 Administration AI Artificial Intelligence Build application Class Client/Server Code editor Collections Compatibility settings Formula Google Listbox Logs Mail Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience vscode Web Word processor
Subscribe to 4D Newsletter

© 2026 4D SAS - All rights reserved
Terms & Conditions | Legal Notices | Data Policy | Cookie Policy | Contact us | Write for us


Subscribe to 4D Newsletter

* Your privacy is very important to us. Please click here to view our Policy

Contact us

Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!

* Your privacy is very important to us. Please click here to view our Policy