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