4D Blog

Home Product Automatic Row Heights in Collection Based List Boxes

Automatic Row Heights in Collection Based List Boxes

January 15, 2023

Product

List boxes are the most versatile and customizable form objects. Automatic row heights were already possible for array-based list boxes. With the arrival of 4D v19 R8, this possibility is now extended to list boxes based on collections… and entity selections!

HDI Database

This new feature will allow you to easily create this kind of list. With a snap of a finger!

Column property

Whatever the number of columns displayed in the list box, the choice of automatic line heights is made for each column and not for the list box itself.

This lets you define precisely what information will be displayed in the list box.

blank

Example

Let’s take a concrete example.

You want to display a list of articles with a title, a subtitle, and a detailed description. The first column will usually fit on one or two lines, the second on three or four, but the last one may take up a lot of space which is not necessarily desirable.

In this case, you will apply the automatic line height only to the first two columns with meaningful content and accept that the detailed descriptions may be truncated.

list box PROPERTIES

When the content of a single row is likely to contain a large amount of data, it is appropriate to be able to set limits on the row heights to be displayed. This is done through two properties defined at the list box level.

blank

These two properties replace the “row height” property and are only visible when at least one column has been defined as having an automatic height.

Conclusion

These new possibilities of displaying list boxes offer an increasingly modern UI.

Let us know what you think about this feature on the 4D forum. Looking forward to hearing from you!

Discuss

Tags Collections, Entity selection, Listbox, UI, v19 R8, 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

Roland Lannuzel
Roland Lannuzel
• Product Owner & 4D Expert • After studying electronics, Roland went into industrial IT as a developer and consultant, building solutions for customers with a variety of databases and technologies. In the late 80’s he fell in love with 4D and has used it in writing business applications that include accounting, billing and email systems.Eventually joining the company in 1997, Roland’s valuable contributions include designing specifications, testing tools, demos as well as training and speaking to the 4D community at many conferences. He continues to actively shape the future of 4D by defining new features and database development tools.
  • Deutsch
  • Français
  • English
  • Português
  • Čeština
  • Español
  • Italiano
  • 日本語

Categories

Browse categories

  • AI
  • 4D View Pro
  • 4D Write Pro
  • 4D for Mobile
  • Email
  • Development Mode
  • 4D Language
  • ORDA
  • User Interface / GUI
  • Qodly Studio
  • Server
  • Maintenance
  • Deployment
  • 4D Tutorials
  • Generic
  • 4D Summit sessions and other online videos

Tags

4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R10 21 21 R2 Administration AI Artificial Intelligence Build application CI/CD Class Client/Server Code editor Collections Formula Listbox Logs Mail Microsoft 365 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 AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R10 21 21 R2 Administration AI Artificial Intelligence Build application CI/CD Class Client/Server Code editor Collections Formula Listbox Logs Mail Microsoft 365 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