Please enable JavaScript to view this site.

A-Shell Reference

Navigation: Subroutines > INFLD > INFLD Miscellaneous Topics

INFLD Font Size Calculation

Scroll Prev Top Next More

When using scaled fonts in the main window, the INFLD font size is no longer reduced to agree with the combo box font unless the "Force edit box height to match combo" option is selected (in the Settings > Misc dialog). To clarify the effect of the "Force edit box height to match combo" option:

When checked, then both the combo box and edit box will have the same height, which will be just slightly less than the row height (subject to the "allow edit boxes to use leading" option). They will also use the same font. Because the combo box has more internal margin than the edit box, the resulting edit font size will be somewhat smaller than it otherwise could be, given the height of the edit box.

When not checked, the edit box will still be the same size as before, but the scaled font size will not be constrained by the combo box metrics. Instead, the combo box height will adjust to the font. The result will usually be a larger font, but at the possible cost of the combo box being taller than a row. This may be ok if you rarely use combo boxes or allow extra space below them.

History

2012 November, A-Shell 6.0.1262:  Feature added