Migration Guide : Migrating from Version 8.5 : Abt Hover Tooltip text now left-aligned by default
Abt Hover Tooltip text now left-aligned by default
Reason for change
In most implementations, the multi-line text within hover tooltips is left-aligned to improve readability. No setting was previously specified in VA, and so prior to 8.5.1 the tooltip would default to using center-aligned text.
Change
AbtHoverHelpManager will provide the new left-alignment specification when creating the hover tooltip label.
Action required
If you are using multi-line tooltips and would prefer center-aligned text, you can update the alignment for the tagLabelWidget, which is accessible through the AbtHoverHelpManager instance that is managing your tooltip enabled widgets.
Example:
| hoverHelp hoverHelpAdapter hoverHelpManager |
 
hoverHelpAdapter := hoverHelp hoverHelpAdapterForWidget: self widget.
hoverHelpManager := hoverHelpAdapter hoverHelpManager.
hoverHelpManager tagLabelWidget alignment: XmALIGNMENTCENTER
 
Last modified date: 07/02/2019