Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Under Consideration
Workspace Domino Designer
Created by Guest
Created on Oct 7, 2019

Add option to fit combobox and listbox width to the window in Domino Designer

Domino Designer provides multiple sizing options for textfields:

  • Fixed (Size)
  • Fit to window (%)
  • Fixed (characters)

For comboboxes and listboxes only the following options are available:

  • Fixed (Size)
  • Fixed (characters)

For a proper rendering of apps in HCL Nomad on mobile devices, it's important that the comboboxes and listboxes can also auto resize to the window / their current paragraph or table cell width as well.

 

I analyzed how this size property is stored in the design richtext ($body item).

 

The "flags" attribute of the CDEMBEDDEDCTL record controls this behavior. I then rewrote a form design element containing a listbox and set the "flags" value to EC_FLAG_FITTOWINDOW. (0x0020). 

The resulting form contained a properly sized combobox. Of course saving the form in Designer reset the property to the value that Designer supports.

Screenshots of before/after are available in this tweet: https://twitter.com/Klehmann79/status/1181193833134120960

 

It looks like this is a low hanging fruit. Please have somebody check if there is (still) a reason why comboboxes and listboxes cannot autofit to the window.

 

Karsten Lehmann, Mindoo GmbH

  • Attach files