Overview

Multiline Query and Article View Text

The option-special dialog now provides a multiline description area so long option descriptions can wrap instead of expanding the dialog horizontally. This complements the related part-special dialog and query tooltip changes in cm.core.part.query.

Runtime/Behavior Changes

Multiline Query and Article View Text

OptionMakeSpecialDialog now creates optDescTF as a FormattedTextArea with line breaking. The control is 100 pixels high and enables automatic scrolling after its size has been established.

Old: optDescTF = FormattedTextField(this,
                                    font=smallSystemFont,
                                    frameStyle=flatFrame);

New: optDescTF = FormattedTextArea(this,
                                   font=smallSystemFont,
                                   frameStyle=flatFrame,
                                   lineBreak=true);
New: optDescTF.h = 100;
New: optDescTF.autoScroll = true;

Custom layouts or UI automation that depend on the previous single-line control or dialog dimensions should be updated for the taller description area.